mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-03 01:25:15 +00:00
19 lines
661 B
Plaintext
19 lines
661 B
Plaintext
error: `#[export_stable]` attribute cannot be used on traits
|
|
--> $DIR/exportable.rs:135:5
|
|
|
|
|
LL | #[export_stable]
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
= help: `#[export_stable]` can be applied to associated types, data types, functions, inherent impl blocks, modules, type aliases, and use statements
|
|
|
|
error: `#[export_stable]` attribute cannot be used on constants
|
|
--> $DIR/exportable.rs:139:5
|
|
|
|
|
LL | #[export_stable]
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
= help: `#[export_stable]` can be applied to associated types, data types, functions, inherent impl blocks, modules, type aliases, and use statements
|
|
|
|
error: aborting due to 2 previous errors
|
|
|