fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0599]: no method named `bar` found for struct `Thing` in the current scope 2 --> $DIR/too-many-field-suggestions.rs:25:7 3 | 4LL | struct Thing { 5 | ------------ method `bar` not found for this struct 6... 7LL | t.bar(); 8 | ^^^ method not found in `Thing` 9 | 10help: some of the expressions' fields have a method of the same name 11 | 12LL | t.a0.bar(); 13 | +++ 14LL | t.a1.bar(); 15 | +++ 16LL | t.a2.bar(); 17 | +++ 18LL | t.a3.bar(); 19 | +++ 20 and 6 other candidates 21 22error[E0609]: no field `field` on type `Thing` 23 --> $DIR/too-many-field-suggestions.rs:26:7 24 | 25LL | t.field; 26 | ^^^^^ unknown field 27 | 28 = note: available fields are: `a0`, `a1`, `a2`, `a3`, `a4` ... and 5 others 29help: some of the expressions' fields have a field of the same name 30 | 31LL | t.a0.field; 32 | +++ 33LL | t.a1.field; 34 | +++ 35LL | t.a2.field; 36 | +++ 37LL | t.a3.field; 38 | +++ 39 and 6 other candidates 40 41error: aborting due to 2 previous errors 42 43Some errors have detailed explanations: E0599, E0609. 44For more information about an error, try `rustc --explain E0599`.