summaryrefslogtreecommitdiffstats
path: root/src/test/ui/linkage-attr/linkage2.stderr
blob: a6ac0aad077874d6b70ce71adced4dab7bad5e65 (plain)
1
2
3
4
5
6
7
8
error: must have type `*const T` or `*mut T` due to `#[linkage]` attribute
  --> $DIR/linkage2.rs:12:5
   |
LL |     static foo: i32;
   |     ^^^^^^^^^^^^^^^

error: aborting due to previous error