blob: 41c8896921b0f35bf34e1cacdf6d3633500a6503 (
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 previous error
|