rust/tests/ui/error-codes/E0124.rs

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

9 lines
122 B
Rust
Raw Normal View History

2016-05-27 20:06:24 +00:00
struct Foo {
field1: i32,
2016-05-27 20:06:24 +00:00
field1: i32,
2016-08-04 19:09:15 +00:00
//~^ ERROR field `field1` is already declared [E0124]
2016-05-27 20:06:24 +00:00
}
fn main() {
}