rust/tests/ui/lint/must_not_suspend/other_items.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
151 B
Rust
Raw Normal View History

// edition:2018
#![feature(must_not_suspend)]
#![deny(must_not_suspend)]
#[must_not_suspend] //~ ERROR attribute should be
mod inner {}
fn main() {}