forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Showing
4 changed files
with
159 additions
and
53 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
26 changes: 26 additions & 0 deletions
26
tests/ui/traits/next-solver/cycles/coinduction/incompleteness-unstable-result.without.stderr
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
error[E0277]: the trait bound `A<X>: Trait<_, _, _>` is not satisfied | ||
--> $DIR/incompleteness-unstable-result.rs:65:19 | ||
| | ||
LL | impls_trait::<A<X>, _, _, _>(); | ||
| ^^^^ the trait `Trait<_, _, _>` is not implemented for `A<X>`, which is required by `A<X>: Trait<_, _, _>` | ||
| | ||
= help: the trait `Trait<U, V, D>` is implemented for `A<T>` | ||
note: required for `A<X>` to implement `Trait<_, _, _>` | ||
--> $DIR/incompleteness-unstable-result.rs:33:50 | ||
| | ||
LL | impl<T: ?Sized, U: ?Sized, V: ?Sized, D: ?Sized> Trait<U, V, D> for A<T> | ||
| ^^^^^^^^^^^^^^ ^^^^ | ||
... | ||
LL | A<T>: Trait<U, D, V>, | ||
| -------------- unsatisfied trait bound introduced here | ||
= note: 8 redundant requirements hidden | ||
= note: required for `A<X>` to implement `Trait<_, _, _>` | ||
note: required by a bound in `impls_trait` | ||
--> $DIR/incompleteness-unstable-result.rs:52:28 | ||
| | ||
LL | fn impls_trait<T: ?Sized + Trait<U, V, D>, U: ?Sized, V: ?Sized, D: ?Sized>() {} | ||
| ^^^^^^^^^^^^^^ required by this bound in `impls_trait` | ||
|
||
error: aborting due to 1 previous error | ||
|
||
For more information about this error, try `rustc --explain E0277`. |