rust/tests/ui/proc-macro/issue-89566-suggest-fix-inv...

8 lines
142 B
Rust

//@ run-rustfix
#[derive(Debug)] //~ ERROR `derive` attribute cannot be used at crate level
#[allow(dead_code)]
struct Test {}
fn main() {}