-
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.
revert leak check changes in candidate winnowing
reverts the behavior changes of #119820 to give some additional time to `sqlx` as it is affected by this change.
- Loading branch information
Showing
19 changed files
with
85 additions
and
227 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
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
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
6 changes: 3 additions & 3 deletions
6
tests/ui/higher-ranked/leak-check/leak-check-in-selection-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
23 changes: 0 additions & 23 deletions
23
tests/ui/higher-ranked/leak-check/leak-check-in-selection-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
22 changes: 17 additions & 5 deletions
22
tests/ui/higher-ranked/trait-bounds/hrtb-higher-ranker-supertraits-transitive.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 |
---|---|---|
@@ -1,11 +1,23 @@ | ||
error: implementation of `Bar` is not general enough | ||
--> $DIR/hrtb-higher-ranker-supertraits-transitive.rs:47:5 | ||
error[E0277]: the trait bound `for<'ccx> B: Bar<'ccx>` is not satisfied | ||
--> $DIR/hrtb-higher-ranker-supertraits-transitive.rs:47:26 | ||
| | ||
LL | want_bar_for_any_ccx(b); | ||
| ^^^^^^^^^^^^^^^^^^^^^^^ implementation of `Bar` is not general enough | ||
| -------------------- ^ the trait `for<'ccx> Bar<'ccx>` is not implemented for `B` | ||
| | | ||
| required by a bound introduced by this call | ||
| | ||
= note: `B` must implement `Bar<'0>`, for any lifetime `'0`... | ||
= note: ...but it actually implements `Bar<'static>` | ||
note: required by a bound in `want_bar_for_any_ccx` | ||
--> $DIR/hrtb-higher-ranker-supertraits-transitive.rs:32:15 | ||
| | ||
LL | fn want_bar_for_any_ccx<B>(b: &B) | ||
| -------------------- required by a bound in this function | ||
LL | where B : for<'ccx> Bar<'ccx> | ||
| ^^^^^^^^^^^^^^^^^^^ required by this bound in `want_bar_for_any_ccx` | ||
help: consider further restricting this bound | ||
| | ||
LL | where B : Qux + for<'ccx> Bar<'ccx> | ||
| +++++++++++++++++++++ | ||
|
||
error: aborting due to 1 previous error | ||
|
||
For more information about this error, try `rustc --explain E0277`. |
Oops, something went wrong.