rust/tests/ui/linkage-attr/linkage2.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
259 B
Plaintext
Raw Normal View History

error[E0791]: invalid type for variable with `#[linkage]` attribute
--> $DIR/linkage2.rs:7:5
2018-08-08 07:28:26 -05:00
|
2020-09-01 16:12:52 -05:00
LL | static foo: i32;
2022-02-13 09:27:59 -06:00
| ^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
error: aborting due to previous error
For more information about this error, try `rustc --explain E0791`.