]> git.lizzy.rs Git - rust.git/blob - tests/ui/attributes/unused-item-in-attr.stderr
Rollup merge of #106664 - chenyukang:yukang/fix-106597-remove-lseek, r=cuviper
[rust.git] / tests / ui / attributes / unused-item-in-attr.stderr
1 error: unexpected expression: `{
2            extern crate alloc;
3        }`
4   --> $DIR/unused-item-in-attr.rs:1:7
5    |
6 LL | #[w = { extern crate alloc; }]
7    |       ^^^^^^^^^^^^^^^^^^^^^^^
8
9 error: cannot find attribute `w` in this scope
10   --> $DIR/unused-item-in-attr.rs:1:3
11    |
12 LL | #[w = { extern crate alloc; }]
13    |   ^
14
15 error: aborting due to 2 previous errors
16