mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 18:23:49 +00:00
0757d5f83f
The check previously matched this, and suggested adding a missing `struct`: pub Foo(...): It was probably intended to match this instead (semicolon instead of colon): pub Foo(...);
7 lines
102 B
Rust
7 lines
102 B
Rust
// run-rustfix
|
|
|
|
pub struct T(String);
|
|
//~^ ERROR missing `struct` for struct definition
|
|
|
|
fn main() {}
|