-
Notifications
You must be signed in to change notification settings - Fork 12.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #127618 - cuviper:beta-next, r=cuviper
[beta] backports - Update LLVM submodule #127364 - instantiate higher ranked goals in candidate selection again #127568 r? cuviper
- Loading branch information
Showing
22 changed files
with
122 additions
and
300 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
Submodule llvm-project
updated
8 files
23 changes: 23 additions & 0 deletions
23
tests/ui/higher-ranked/leak-check/candidate-from-env-universe-err-1.next.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,23 @@ | ||
error[E0277]: the trait bound `for<'a> &'a &T: Trait` is not satisfied | ||
--> $DIR/candidate-from-env-universe-err-1.rs:27:16 | ||
| | ||
LL | hr_bound::<&T>(); | ||
| ^^ the trait `for<'a> Trait` is not implemented for `&'a &T` | ||
| | ||
note: required by a bound in `hr_bound` | ||
--> $DIR/candidate-from-env-universe-err-1.rs:14:20 | ||
| | ||
LL | fn hr_bound<T>() | ||
| -------- required by a bound in this function | ||
LL | where | ||
LL | for<'a> &'a T: Trait, | ||
| ^^^^^ required by this bound in `hr_bound` | ||
help: consider removing the leading `&`-reference | ||
| | ||
LL - hr_bound::<&T>(); | ||
LL + hr_bound::<T>(); | ||
| | ||
|
||
error: aborting due to 1 previous error | ||
|
||
For more information about this error, try `rustc --explain E0277`. |
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: 0 additions & 26 deletions
26
tests/ui/higher-ranked/leak-check/candidate-from-env-universe-err-1.stderr
This file was deleted.
Oops, something went wrong.
25 changes: 0 additions & 25 deletions
25
tests/ui/higher-ranked/leak-check/candidate-from-env-universe-err-2.current.stderr
This file was deleted.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
tests/ui/higher-ranked/leak-check/candidate-from-env-universe-err-2.next.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
26 changes: 0 additions & 26 deletions
26
tests/ui/higher-ranked/leak-check/candidate-from-env-universe-err-2.old.stderr
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.