]> git.lizzy.rs Git - rust.git/blob - src/test/ui/associated-types/point-at-type-on-obligation-failure-2.stderr
Merge commit '5034d47f721ff4c3a3ff2aca9ef2ef3e1d067f9f' into clippyup
[rust.git] / src / test / ui / associated-types / point-at-type-on-obligation-failure-2.stderr
1 error[E0277]: the trait bound `bool: Bar` is not satisfied
2   --> $DIR/point-at-type-on-obligation-failure-2.rs:8:18
3    |
4 LL | trait Foo {
5    |       --- required by a bound in this
6 LL |     type Assoc: Bar;
7    |                 --- required by this bound in `Foo`
8 ...
9 LL |     type Assoc = bool;
10    |                  ^^^^ the trait `Bar` is not implemented for `bool`
11
12 error[E0277]: the trait bound `bool: Bar` is not satisfied
13   --> $DIR/point-at-type-on-obligation-failure-2.rs:16:18
14    |
15 LL | trait Baz where Self::Assoc: Bar {
16    |                              --- required by this bound in `Baz`
17 ...
18 LL |     type Assoc = bool;
19    |                  ^^^^ the trait `Bar` is not implemented for `bool`
20
21 error[E0277]: the trait bound `bool: Bar` is not satisfied
22   --> $DIR/point-at-type-on-obligation-failure-2.rs:24:18
23    |
24 LL | trait Bat where <Self as Bat>::Assoc: Bar {
25    |                                       --- required by this bound in `Bat`
26 ...
27 LL |     type Assoc = bool;
28    |                  ^^^^ the trait `Bar` is not implemented for `bool`
29
30 error: aborting due to 3 previous errors
31
32 For more information about this error, try `rustc --explain E0277`.