-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not assemble candidates for default impls
- Loading branch information
1 parent
bc1b9e0
commit b4eee2e
Showing
9 changed files
with
59 additions
and
40 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
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,12 @@ | ||
error[E0275]: overflow evaluating the requirement `T: Trait<_>` | ||
| | ||
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`issue_45814`) | ||
note: required for `T` to implement `Trait<_>` | ||
--> $DIR/issue-45814.rs:9:20 | ||
error[E0119]: conflicting implementations of trait `Trait<_>` | ||
--> $DIR/issue-45814.rs:10:1 | ||
| | ||
LL | default impl<T, U> Trait<T> for U {} | ||
| ^^^^^^^^ ^ | ||
= note: 128 redundant requirements hidden | ||
= note: required for `T` to implement `Trait<_>` | ||
| --------------------------------- first implementation here | ||
LL | | ||
LL | impl<T> Trait<<T as Iterator>::Item> for T {} | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation | ||
|
||
error: aborting due to 1 previous error | ||
|
||
For more information about this error, try `rustc --explain E0275`. | ||
For more information about this error, try `rustc --explain E0119`. |
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,12 @@ | ||
error[E0275]: overflow evaluating the requirement `T: Trait<_>` | ||
| | ||
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`issue_45814`) | ||
note: required for `T` to implement `Trait<_>` | ||
--> $DIR/issue-45814.rs:9:20 | ||
error[E0119]: conflicting implementations of trait `Trait<_>` | ||
--> $DIR/issue-45814.rs:10:1 | ||
| | ||
LL | default impl<T, U> Trait<T> for U {} | ||
| ^^^^^^^^ ^ | ||
= note: 128 redundant requirements hidden | ||
= note: required for `T` to implement `Trait<_>` | ||
| --------------------------------- first implementation here | ||
LL | | ||
LL | impl<T> Trait<<T as Iterator>::Item> for T {} | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation | ||
|
||
error: aborting due to 1 previous error | ||
|
||
For more information about this error, try `rustc --explain E0275`. | ||
For more information about this error, try `rustc --explain E0119`. |
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