rust/src/test/ui/parser/attr-with-a-semicolon.rs
Takayuki Maeda 47d91bc9e6 suggest removing a semicolon after derive attributes
use current token span
2022-03-06 01:28:35 +09:00

5 lines
91 B
Rust

#[derive(Debug, Clone)]; //~ERROR expected item after attributes
struct Foo;
fn main() {}