blob: 3118a9c5352c351ca0105cdeaf6ac4059b5ebe26 [file] [log] [blame]
error[E0277]: the trait bound `bool: Bar` is not satisfied
--> $DIR/point-at-type-on-obligation-failure-2.rs:8:18
|
LL | trait Foo {
| --- required by a bound in this
LL | type Assoc: Bar;
| --- required by this bound in `Foo`
...
LL | type Assoc = bool;
| ^^^^ the trait `Bar` is not implemented for `bool`
error[E0277]: the trait bound `bool: Bar` is not satisfied
--> $DIR/point-at-type-on-obligation-failure-2.rs:16:18
|
LL | trait Baz where Self::Assoc: Bar {
| --- required by this bound in `Baz`
...
LL | type Assoc = bool;
| ^^^^ the trait `Bar` is not implemented for `bool`
error[E0277]: the trait bound `bool: Bar` is not satisfied
--> $DIR/point-at-type-on-obligation-failure-2.rs:24:18
|
LL | trait Bat where <Self as Bat>::Assoc: Bar {
| --- required by this bound in `Bat`
...
LL | type Assoc = bool;
| ^^^^ the trait `Bar` is not implemented for `bool`
error: aborting due to 3 previous errors
For more information about this error, try `rustc --explain E0277`.