Skip to content
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

regression: lifetimes cannot use keyword names #128897

Closed
BoxyUwU opened this issue Aug 9, 2024 · 4 comments
Closed

regression: lifetimes cannot use keyword names #128897

BoxyUwU opened this issue Aug 9, 2024 · 4 comments
Labels
regression-from-stable-to-beta Performance or correctness regression from stable to beta. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@BoxyUwU
Copy link
Member

BoxyUwU commented Aug 9, 2024

[INFO] [stdout] error: lifetimes cannot use keyword names
[INFO] [stdout]  --> examples/main.rs:7:21
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn hex (n: u32) -> &'ref dyn Display
[INFO] [stdout]   |                     ^^^^

#126762, crater run in #126452 (comment), accepted breakage? cc @compiler-errors

@BoxyUwU BoxyUwU added T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. regression-from-stable-to-beta Performance or correctness regression from stable to beta. labels Aug 9, 2024
@rustbot rustbot added I-prioritize Issue: Indicates that prioritization has been requested for this issue. needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. labels Aug 9, 2024
@BoxyUwU BoxyUwU removed the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Aug 9, 2024
@compiler-errors
Copy link
Member

Yep, this is known breakage. I believe @traviscross confirmed this with @danielhenrymantilla.

@traviscross
Copy link
Contributor

@rustbot labels -I-prioritize

Indeed, we accepted this breakage.

@rustbot rustbot removed the I-prioritize Issue: Indicates that prioritization has been requested for this issue. label Aug 9, 2024
@traviscross traviscross reopened this Aug 9, 2024
@traviscross traviscross closed this as not planned Won't fix, can't repro, duplicate, stale Aug 9, 2024
@danielhenrymantilla
Copy link
Contributor

danielhenrymantilla commented Aug 9, 2024

@BoxyUwU if there is something you'd think I should/could be doing in this regard with my crate, library-wise, do tell me! 🙏

@compiler-errors
Copy link
Member

If you'd like to update the library to stop using 'ref then that would be the only actionable thing to do here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
regression-from-stable-to-beta Performance or correctness regression from stable to beta. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

5 participants