summaryrefslogtreecommitdiffstats
path: root/tests/ui/attributes/unused-item-in-attr.stderr
blob: 92a8f58582136a05f808b34a53f3d5d0b1d7a89d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
error: unexpected expression: `{
           extern crate alloc;
       }`
  --> $DIR/unused-item-in-attr.rs:1:7
   |
LL | #[w = { extern crate alloc; }]
   |       ^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find attribute `w` in this scope
  --> $DIR/unused-item-in-attr.rs:1:3
   |
LL | #[w = { extern crate alloc; }]
   |   ^

error: aborting due to 2 previous errors