mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 01:34:21 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
11 lines
277 B
Plaintext
11 lines
277 B
Plaintext
error: `must_not_suspend` attribute should be applied to a struct, enum, or trait
|
|
--> $DIR/other_items.rs:5:1
|
|
|
|
|
LL | #[must_not_suspend]
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
LL | mod inner {}
|
|
| ------------ is not a struct, enum, or trait
|
|
|
|
error: aborting due to 1 previous error
|
|
|