1 error[E0438]: const `BAR` is not a member of trait `A`
2 --> $DIR/impl-can-not-have-untraitful-items.rs:4:5
4 LL | const BAR: () = ();
5 | ^^^^^^^^^^^^^^^^^^^ not a member of trait `A`
7 error[E0437]: type `Baz` is not a member of trait `A`
8 --> $DIR/impl-can-not-have-untraitful-items.rs:5:5
11 | ^^^^^^^^^^^^^^ not a member of trait `A`
13 error[E0407]: method `foo` is not a member of trait `A`
14 --> $DIR/impl-can-not-have-untraitful-items.rs:6:5
16 LL | fn foo(&self) { }
17 | ^^^^^^^^^^^^^^^^^ not a member of trait `A`
19 error: aborting due to 3 previous errors
21 Some errors have detailed explanations: E0407, E0437, E0438.
22 For more information about an error, try `rustc --explain E0407`.