]> git.lizzy.rs Git - rust.git/blob - src/test/ui/tool-attributes/tool-attributes-misplaced-2.rs
Add 'compiler/rustc_smir/' from commit '9abcb5c7b574cf316eb23d3f469187bb86ba3019'
[rust.git] / src / test / ui / tool-attributes / tool-attributes-misplaced-2.rs
1 #[derive(rustfmt::skip)] //~ ERROR expected derive macro, found tool attribute `rustfmt::skip`
2 struct S;
3
4 fn main() {
5     rustfmt::skip!(); //~ ERROR expected macro, found tool attribute `rustfmt::skip`
6 }