]> git.lizzy.rs Git - rust.git/blob - src/test/ui/assoc-inherent.stderr
Merge commit 'e18101137866b79045fee0ef996e696e68c920b4' into clippyup
[rust.git] / src / test / ui / assoc-inherent.stderr
1 error: associated type in `impl` without body
2   --> $DIR/assoc-inherent.rs:14:5
3    |
4 LL |     type Baz;
5    |     ^^^^^^^^-
6    |             |
7    |             help: provide a definition for the type: `= <type>;`
8
9 error[E0223]: ambiguous associated type
10   --> $DIR/assoc-inherent.rs:18:13
11    |
12 LL |     let x : Foo::Bar;
13    |             ^^^^^^^^ help: use fully-qualified syntax: `<Foo as Trait>::Bar`
14
15 error: aborting due to 2 previous errors
16
17 For more information about this error, try `rustc --explain E0223`.