mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
16 lines
367 B
Text
16 lines
367 B
Text
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
|
|
|