fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0437]: type `Typ` is not a member of trait `Foo` 2 --> $DIR/suggest-trait-items.rs:13:5 3 | 4LL | type Typ = (); 5 | ^^^^^---^^^^^^ 6 | | | 7 | | help: there is an associated type with a similar name: `Type` 8 | not a member of trait `Foo` 9 10error[E0407]: method `fooo` is not a member of trait `Foo` 11 --> $DIR/suggest-trait-items.rs:17:5 12 | 13LL | fn fooo() {} 14 | ^^^----^^^^^ 15 | | | 16 | | help: there is an associated function with a similar name: `foo` 17 | not a member of trait `Foo` 18 19error[E0407]: method `barr` is not a member of trait `Foo` 20 --> $DIR/suggest-trait-items.rs:21:5 21 | 22LL | fn barr() {} 23 | ^^^----^^^^^ 24 | | | 25 | | help: there is an associated function with a similar name: `bar` 26 | not a member of trait `Foo` 27 28error[E0407]: method `quux` is not a member of trait `Foo` 29 --> $DIR/suggest-trait-items.rs:25:5 30 | 31LL | fn quux() {} 32 | ^^^----^^^^^ 33 | | | 34 | | help: there is an associated function with a similar name: `qux` 35 | not a member of trait `Foo` 36 37error[E0438]: const `Cnst` is not a member of trait `Bar` 38 --> $DIR/suggest-trait-items.rs:42:5 39 | 40LL | const Cnst: i32 = 0; 41 | ^^^^^^----^^^^^^^^^^ 42 | | | 43 | | help: there is an associated constant with a similar name: `Const` 44 | not a member of trait `Bar` 45 46error[E0046]: not all trait items implemented, missing: `Type`, `foo`, `bar`, `qux` 47 --> $DIR/suggest-trait-items.rs:11:1 48 | 49LL | type Type; 50 | --------- `Type` from trait 51LL | 52LL | fn foo(); 53 | --------- `foo` from trait 54LL | fn bar(); 55 | --------- `bar` from trait 56LL | fn qux(); 57 | --------- `qux` from trait 58... 59LL | impl Foo for A { 60 | ^^^^^^^^^^^^^^ missing `Type`, `foo`, `bar`, `qux` in implementation 61 62error[E0046]: not all trait items implemented, missing: `Const` 63 --> $DIR/suggest-trait-items.rs:40:1 64 | 65LL | const Const: i32; 66 | ---------------- `Const` from trait 67... 68LL | impl Bar for B { 69 | ^^^^^^^^^^^^^^ missing `Const` in implementation 70 71error: aborting due to 7 previous errors 72 73Some errors have detailed explanations: E0046, E0407, E0437, E0438. 74For more information about an error, try `rustc --explain E0046`.