-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Anonymize binders in tail call sig #144835
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?
Anonymize binders in tail call sig #144835
Conversation
|
@@ -63,6 +63,10 @@ impl<'tcx> TailCallCkVisitor<'_, 'tcx> { | |||
"`become` outside of functions should have been disallowed by hit_typeck" |
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.
(maybe while you're here)
"`become` outside of functions should have been disallowed by hit_typeck" | |
"`become` outside of functions should have been disallowed by hir_typeck" |
//@ check-pass | ||
|
||
#![feature(explicit_tail_calls)] | ||
//~^ WARN the feature `explicit_tail_calls` is incomplete |
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.
(while I'm here, maybe a little #![allow(incomplete_features)]
to remove the unnecessary stderr?!)
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.
I personally prefer the warn because it forces it being removed when the feature gets un-incomplete-ified
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.
Interesting.
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.
All other tail call tests use #![expect(incomplete_features)]
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.
r=me with nits
fbf7ebf
to
f6ce4ac
Compare
See the comment for explanation
Fixes #144826
r? WaffleLapkin