rust/tests/ui/proc-macro/issue-89566-suggest-fix-invalid-top-level-macro-attr.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
143 B
Rust
Raw Normal View History

//@ run-rustfix
#![derive(Debug)] //~ ERROR `derive` attribute cannot be used at crate level
2024-02-06 20:42:01 -06:00
#[allow(dead_code)]
struct Test {}
fn main() {}