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
3 changed files
with
216 additions
and
59 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
56 changes: 56 additions & 0 deletions
56
src/test/ui/generic-associated-types/self-outlives-lint.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,56 @@ | ||
error: Missing bound: Self: 'x | ||
--> $DIR/self-outlives-lint.rs:6:14 | ||
| | ||
LL | type Item<'x>; | ||
| ^^^^ | ||
|
||
error: Missing bound: T: 'x | ||
--> $DIR/self-outlives-lint.rs:21:13 | ||
| | ||
LL | type Out<'x>; | ||
| ^^^^ | ||
|
||
error: Missing bound: T: 'x | ||
--> $DIR/self-outlives-lint.rs:34:13 | ||
| | ||
LL | type Out<'x>; | ||
| ^^^^ | ||
|
||
error: Missing bound: T: 'x | ||
--> $DIR/self-outlives-lint.rs:40:13 | ||
| | ||
LL | type Out<'x, 'y>; | ||
| ^^^^^^^^ | ||
|
||
error: Missing bound: U: 'y | ||
--> $DIR/self-outlives-lint.rs:40:13 | ||
| | ||
LL | type Out<'x, 'y>; | ||
| ^^^^^^^^ | ||
|
||
error: Missing bound: T: 'x | ||
--> $DIR/self-outlives-lint.rs:47:13 | ||
| | ||
LL | type Out<'x>; | ||
| ^^^^ | ||
|
||
error: Missing bound: T: 'x | ||
--> $DIR/self-outlives-lint.rs:55:13 | ||
| | ||
LL | type Out<'x, D>; | ||
| ^^^^^^^ | ||
|
||
error: Missing bound: T: 'x | ||
--> $DIR/self-outlives-lint.rs:69:13 | ||
| | ||
LL | type Out<'x, D>; | ||
| ^^^^^^^ | ||
|
||
error: Missing bound: T: 'x | ||
--> $DIR/self-outlives-lint.rs:83:13 | ||
| | ||
LL | type Out<'x, D>; | ||
| ^^^^^^^ | ||
|
||
error: aborting due to 9 previous errors | ||
|