blob: ac82e8b3d7350a71aaaeea6cb1856e05ce47bd0b [file]
error: the `export_stable` attribute cannot be used on traits
--> $DIR/exportable.rs:135:7
|
LL | #[export_stable]
| ^^^^^^^^^^^^^
LL |
LL | pub trait Trait {}
|
= help: the `export_stable` attribute can be applied to associated types, data types, functions, inherent impl blocks, modules, type aliases, and use statements
error: the `export_stable` attribute cannot be used on constants
--> $DIR/exportable.rs:139:7
|
LL | #[export_stable]
| ^^^^^^^^^^^^^
LL |
LL | pub const C: i32 = 0;
|
= help: the `export_stable` attribute 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