mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
15 lines
251 B
Plaintext
15 lines
251 B
Plaintext
error: `test` attribute cannot be used at crate level
|
|
--> $DIR/issue-28134.rs:4:1
|
|
|
|
|
LL | #![test]
|
|
| ^^^^^^^^
|
|
|
|
|
help: perhaps you meant to use an outer attribute
|
|
|
|
|
LL - #![test]
|
|
LL + #[test]
|
|
|
|
|
|
|
error: aborting due to 1 previous error
|
|
|