-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Remove in_band_lifetimes
from rustc_codegen_ssa
#91885
Remove in_band_lifetimes
from rustc_codegen_ssa
#91885
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @estebank (or someone else) soon. Please see the contribution instructions for more information. |
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.
Yeah, if you can manage to pull out needless lifetimes labels for "nameless" ( 'a
, 'b
) lifetimes then feel free to do so.
See rust-lang#91867 for more information.
7377bc0
to
eaf39cb
Compare
inband_lifetimes
from rustc_codegen_ssa
in_band_lifetimes
from rustc_codegen_ssa
Nice. |
📌 Commit eaf39cb has been approved by |
…askrgr Rollup of 7 pull requests Successful merges: - rust-lang#91880 (fix clippy::single_char_pattern perf findings) - rust-lang#91885 (Remove `in_band_lifetimes` from `rustc_codegen_ssa`) - rust-lang#91898 (Make `TyS::is_suggestable` check for non-suggestable types structually) - rust-lang#91915 (Add another regression test for unnormalized fn args with Self) - rust-lang#91916 (Fix a bunch of typos) - rust-lang#91918 (Constify `bool::then{,_some}`) - rust-lang#91920 (Use `tcx.def_path_hash` in `ExistentialPredicate.stable_cmp`) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
See #91867 for more information.
In
compiler/rustc_codegen_ssa/src/coverageinfo/map.rs
, there are several functions with an explicit'a
lifetime but only a single&'a self
parameter. These lifetimes should be redundant given lifetime elision, unless the existentialimpl Iterator
has weird issues regarding that. Should the redundant lifetimes be removed?