-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Refactor function names of rustc_ast_lowering
#150122
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: main
Are you sure you want to change the base?
Conversation
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.
thx, gonna mark this on blocked on #149114
| let super_ = l.super_.map(|span| self.lower_span(span)); | ||
| let ty = l.ty.as_ref().map(|t| { | ||
| self.lower_ty(t, self.impl_trait_in_bindings_ctxt(ImplTraitPosition::Variable)) | ||
| self.lower_ty_and_intern( |
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.
actually, self.lower_ty_and_alloc might be better, we're not really interning here
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.
Oh, I understand. lower_anon_const_to_const_arg_and_alloc was also reflected
7c13df6 to
5d67210
Compare
This comment has been minimized.
This comment has been minimized.
`lower_anon_const_to_const_arg_direct` to `lower_anon_const_to_const_arg_and_alloc` and `lower_anon_const_to_const_arg`
5d67210 to
5e669d8
Compare
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
|
@rustbot label -A-LLVM |
|
A job failed! Check out the build log: (web) (plain enhanced) (plain) Click to see the possible cause of the failure (guessed by this bot) |
close: #150062
I'll rebase after #149114 is merged.
Would it be better to change
lower_const_path_to_const_arg→lower_const_path_to_const_arg_and_intern,lower_array_length_to_const_arg→lower_array_length_to_const_arg_and_intern?r? @lcnr