]> git.lizzy.rs Git - rust.git/blob - src/test/ui/missing-items/m2.stderr
Rollup merge of #37761 - christophebiocca:borrow-stdlib-fn-refactor, r=alexcrichton
[rust.git] / src / test / ui / missing-items / m2.stderr
1 error: 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    |  _^ starting here...
8 21 | | }
9    | |_^ ...ending here: missing `CONSTANT`, `Type`, `method` in implementation
10    |
11    = note: `CONSTANT` from trait: `const CONSTANT: u32;`
12    = note: `Type` from trait: `type Type;`
13    = note: `method` from trait: `fn(&Self, std::string::String) -> <Self as m1::X>::Type`
14
15 error: aborting due to previous error
16