1 error[E0437]: type `Typ` is not a member of trait `Foo`
2 --> $DIR/suggest-trait-items.rs:13:5
7 | | help: there is an associated type with a similar name: `Type`
8 | not a member of trait `Foo`
10 error[E0407]: method `fooo` is not a member of trait `Foo`
11 --> $DIR/suggest-trait-items.rs:17:5
16 | | help: there is an associated function with a similar name: `foo`
17 | not a member of trait `Foo`
19 error[E0407]: method `barr` is not a member of trait `Foo`
20 --> $DIR/suggest-trait-items.rs:21:5
25 | | help: there is an associated function with a similar name: `bar`
26 | not a member of trait `Foo`
28 error[E0407]: method `quux` is not a member of trait `Foo`
29 --> $DIR/suggest-trait-items.rs:25:5
34 | | help: there is an associated function with a similar name: `qux`
35 | not a member of trait `Foo`
37 error[E0438]: const `Cnst` is not a member of trait `Bar`
38 --> $DIR/suggest-trait-items.rs:42:5
40 LL | const Cnst: i32 = 0;
41 | ^^^^^^----^^^^^^^^^^
43 | | help: there is an associated constant with a similar name: `Const`
44 | not a member of trait `Bar`
46 error[E0046]: not all trait items implemented, missing: `Type`, `foo`, `bar`, `qux`
47 --> $DIR/suggest-trait-items.rs:11:1
50 | ---------- `Type` from trait
53 | --------- `foo` from trait
55 | --------- `bar` from trait
57 | --------- `qux` from trait
60 | ^^^^^^^^^^^^^^ missing `Type`, `foo`, `bar`, `qux` in implementation
62 error[E0046]: not all trait items implemented, missing: `Const`
63 --> $DIR/suggest-trait-items.rs:40:1
65 LL | const Const: i32;
66 | ----------------- `Const` from trait
69 | ^^^^^^^^^^^^^^ missing `Const` in implementation
71 error: aborting due to 7 previous errors
73 Some errors have detailed explanations: E0046, E0407, E0437, E0438.
74 For more information about an error, try `rustc --explain E0046`.