-
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
Enforce static lifetimes in consts during late resolution #95776
Conversation
Some changes occurred in src/tools/rustfmt. |
This comment has been minimized.
This comment has been minimized.
655cbd5
to
0b92aca
Compare
This comment was marked as resolved.
This comment was marked as resolved.
ee22022
to
bdc97fa
Compare
This comment was marked as resolved.
This comment was marked as resolved.
bdc97fa
to
40799a5
Compare
This comment was marked as resolved.
This comment was marked as resolved.
40799a5
to
f06716f
Compare
f06716f
to
8660a14
Compare
r=me after addressing #95776 (comment) and squashing commits. |
The extra diagnostics come from the compiler no longer aborting before typeck.
8660a14
to
7d990a8
Compare
@bors r+ |
📌 Commit 7d990a8 has been approved by |
☀️ Test successful - checks-actions |
Finished benchmarking commit (76d4862): comparison url. Summary: This benchmark run did not return any relevant results. If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression |
…ark-Simulacrum Enable full revision in const generics ui tests The ICEs no longer occur since rust-lang#95776 so the revisions can be reenabled Also adds some regression tests for issues that no longer ICE because of it closes rust-lang#77357 closes rust-lang#78180 closes rust-lang#83993
This PR moves the handling of implicitly and explicitly static lifetimes in constants from HIR to the AST.