blob: e6c36b789510983a87974760db2107e4cd19773c (
plain)
1
2
3
4
5
6
7
8
9
10
|
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
|