]> git.proxmox.com Git - rustc.git/blob - src/test/ui/traits/impl-can-not-have-untraitful-items.stderr
New upstream version 1.67.1+dfsg1
[rustc.git] / src / test / ui / traits / impl-can-not-have-untraitful-items.stderr
1 error[E0438]: const `BAR` is not a member of trait `A`
2 --> $DIR/impl-can-not-have-untraitful-items.rs:4:5
3 |
4 LL | const BAR: () = ();
5 | ^^^^^^^^^^^^^^^^^^^ not a member of trait `A`
6
7 error[E0437]: type `Baz` is not a member of trait `A`
8 --> $DIR/impl-can-not-have-untraitful-items.rs:5:5
9 |
10 LL | type Baz = ();
11 | ^^^^^^^^^^^^^^ not a member of trait `A`
12
13 error[E0407]: method `foo` is not a member of trait `A`
14 --> $DIR/impl-can-not-have-untraitful-items.rs:6:5
15 |
16 LL | fn foo(&self) { }
17 | ^^^^^^^^^^^^^^^^^ not a member of trait `A`
18
19 error: aborting due to 3 previous errors
20
21 Some errors have detailed explanations: E0407, E0437, E0438.
22 For more information about an error, try `rustc --explain E0407`.