-
Notifications
You must be signed in to change notification settings - Fork 13.8k
-Znext-solver
instantiate predicate binder without recanonicalizing goal
#146725
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
//@ revisions: old next | ||
//@ ignore-compare-mode-next-solver (explicit revisions) | ||
//@[next] compile-flags: -Znext-solver | ||
//@[old] check-pass | ||
//@ check-pass | ||
|
||
// cc #119820 | ||
|
||
|
@@ -25,7 +26,6 @@ where | |
// the leak check both candidates may apply and we prefer the | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This comment is out of date now? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Well, maybe. Not sure actually. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this comment still describes what we're testing 😁 could slightly reword it to make it clear that we do leak check here now |
||
// `param_env` candidate in winnowing. | ||
hr_bound::<&T>(); | ||
//[next]~^ ERROR the trait bound `for<'a> &'a &T: Trait` is not satisfied | ||
} | ||
|
||
fn main() {} |
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
much cleaner, nice :>