-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
9bc484f
commit c7a419d
Showing
20 changed files
with
148 additions
and
22 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
src/test/ui/associated-types/bound-lifetime-in-binding-only.ok.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
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
warning: where-clause bound is impossible to satisfy | ||
--> $DIR/issue-69398.rs:14:28 | ||
| | ||
LL | fn broken(&self) where Self::Assoc: Foo { | ||
| ^^^^^^^^^^^^^^^^ | ||
| | ||
= note: the bound `<T as Broken>::Assoc: Foo` was previously accepted, but it may become a hard error in a future release | ||
= help: add `#![feature(trivial_bounds)]` to the crate attributes to allow it | ||
|
||
warning: 1 warning emitted | ||
|
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
warning: where-clause bound is impossible to satisfy | ||
--> $DIR/issue-67696-const-prop-ice.rs:13:33 | ||
| | ||
LL | fn foo(&self) -> Self where Self: Copy { | ||
| ^^^^^^^^^^ | ||
| | ||
= note: the bound `[for<'r> fn(&'r ())]: Copy` was previously accepted, but it may become a hard error in a future release | ||
= help: add `#![feature(trivial_bounds)]` to the crate attributes to allow it | ||
|
||
warning: where-clause bound is impossible to satisfy | ||
--> $DIR/issue-67696-const-prop-ice.rs:13:33 | ||
| | ||
LL | fn foo(&self) -> Self where Self: Copy { | ||
| ^^^^^^^^^^ | ||
| | ||
= note: the bound `[for<'r> fn(&'r ())]: Clone` was previously accepted, but it may become a hard error in a future release | ||
= help: add `#![feature(trivial_bounds)]` to the crate attributes to allow it | ||
|
||
warning: where-clause bound is impossible to satisfy | ||
--> $DIR/issue-67696-const-prop-ice.rs:13:33 | ||
| | ||
LL | fn foo(&self) -> Self where Self: Copy { | ||
| ^^^^^^^^^^ | ||
| | ||
= note: the bound `[for<'r> fn(&'r ())]: Sized` was previously accepted, but it may become a hard error in a future release | ||
= help: add `#![feature(trivial_bounds)]` to the crate attributes to allow it | ||
|
||
warning: 3 warnings emitted | ||
|
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
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
warning: where-clause bound is impossible to satisfy | ||
--> $DIR/issue-36839.rs:14:28 | ||
| | ||
LL | fn broken(&self) where Self::Assoc: Foo { | ||
| ^^^^^^^^^^^^^^^^ | ||
| | ||
= note: the bound `<T as Broken>::Assoc: Foo` was previously accepted, but it may become a hard error in a future release | ||
= help: add `#![feature(trivial_bounds)]` to the crate attributes to allow it | ||
|
||
warning: 1 warning emitted | ||
|
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
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
warning: where-clause bound is impossible to satisfy | ||
--> $DIR/issue-91745.rs:14:28 | ||
| | ||
LL | fn broken(&self) where Self::Assoc: Foo { | ||
| ^^^^^^^^^^^^^^^^ | ||
| | ||
= note: the bound `<T as Broken>::Assoc: Foo` was previously accepted, but it may become a hard error in a future release | ||
= help: add `#![feature(trivial_bounds)]` to the crate attributes to allow it | ||
|
||
warning: 1 warning emitted | ||
|
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