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

