]> git.lizzy.rs Git - rust.git/blob - src/test/ui/associated-types/point-at-type-on-obligation-failure-2.stderr
feat(rustdoc): open sidebar menu when links inside it are focused
[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:5
3    |
4 LL |     type Assoc: Bar;
5    |                 --- required by this bound in `Foo::Assoc`
6 ...
7 LL |     type Assoc = bool;
8    |     ^^^^^^^^^^^^^^^^^^ the trait `Bar` is not implemented for `bool`
9
10 error[E0277]: the trait bound `bool: Bar` is not satisfied
11   --> $DIR/point-at-type-on-obligation-failure-2.rs:19:5
12    |
13 LL |     Self::Assoc: Bar,
14    |                  --- required by this bound in `Baz::Assoc`
15 LL | {
16 LL |     type Assoc;
17    |          ----- required by a bound in this
18 ...
19 LL |     type Assoc = bool;
20    |     ^^^^^^^^^^^^^^^^^^ the trait `Bar` is not implemented for `bool`
21
22 error[E0277]: the trait bound `bool: Bar` is not satisfied
23   --> $DIR/point-at-type-on-obligation-failure-2.rs:30:5
24    |
25 LL |     <Self as Bat>::Assoc: Bar,
26    |                           --- required by this bound in `Bat::Assoc`
27 LL | {
28 LL |     type Assoc;
29    |          ----- required by a bound in this
30 ...
31 LL |     type Assoc = bool;
32    |     ^^^^^^^^^^^^^^^^^^ the trait `Bar` is not implemented for `bool`
33
34 error: aborting due to 3 previous errors
35
36 For more information about this error, try `rustc --explain E0277`.