rust/tests/ui/tool-attributes/tool-attributes-misplaced-2.rs
2023-01-11 09:32:08 +00:00

7 lines
205 B
Rust

#[derive(rustfmt::skip)] //~ ERROR expected derive macro, found tool attribute `rustfmt::skip`
struct S;
fn main() {
rustfmt::skip!(); //~ ERROR expected macro, found tool attribute `rustfmt::skip`
}