]> git.lizzy.rs Git - rust.git/blob - src/test/ui/missing-items/m2.stderr
Add new error code
[rust.git] / src / test / ui / missing-items / m2.stderr
1 error[E0601]: main function not found
2
3 error[E0046]: not all trait items implemented, missing: `CONSTANT`, `Type`, `method`
4   --> $DIR/m2.rs:20:1
5    |
6 20 | / impl m1::X for X {
7 21 | | }
8    | |_^ missing `CONSTANT`, `Type`, `method` in implementation
9    |
10    = note: `CONSTANT` from trait: `const CONSTANT: u32;`
11    = note: `Type` from trait: `type Type;`
12    = note: `method` from trait: `fn(&Self, std::string::String) -> <Self as m1::X>::Type`
13
14 error: aborting due to previous error(s)
15