-
Notifications
You must be signed in to change notification settings - Fork 13.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0995f8a
commit d945496
Showing
4 changed files
with
33 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,21 @@ | ||
error: the type `S` is not well-formed | ||
--> $DIR/recursive_where_clause_on_type.rs:28:11 | ||
error[E0277]: the trait bound `S: Bar` is not satisfied | ||
--> $DIR/recursive_where_clause_on_type.rs:14:14 | ||
| | ||
LL | impl Foo for S { | ||
| ^ the trait `Bar` is not implemented for `S` | ||
| | ||
note: required by a bound in `Foo` | ||
--> $DIR/recursive_where_clause_on_type.rs:10:12 | ||
| | ||
LL | foo::<S>() | ||
| ^ | ||
LL | trait Foo: Bar { } | ||
| ^^^ required by this bound in `Foo` | ||
|
||
error: the type `S` is not well-formed | ||
--> $DIR/recursive_where_clause_on_type.rs:28:5 | ||
--> $DIR/recursive_where_clause_on_type.rs:14:14 | ||
| | ||
LL | foo::<S>() | ||
| ^^^^^^^^ | ||
LL | impl Foo for S { | ||
| ^ | ||
|
||
error: aborting due to 2 previous errors | ||
|
||
For more information about this error, try `rustc --explain E0277`. |