rustc/tests/ui/proc-macro/issue-89566-suggest-fix-invalid-top-level-macro-attr.fixed
2024-06-21 09:39:33 +02:00

8 lines
142 B
Plaintext

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