]> git.lizzy.rs Git - rust.git/blob - src/test/ui/tool-attributes/tool-attributes-misplaced-2.rs
Rollup merge of #57132 - daxpedda:master, r=steveklabnik
[rust.git] / src / test / ui / tool-attributes / tool-attributes-misplaced-2.rs
1 #[derive(rustfmt::skip)] //~ ERROR expected a macro, found tool attribute
2 struct S;
3
4 fn main() {
5     rustfmt::skip!(); //~ ERROR expected a macro, found tool attribute
6 }