Skip to content

Conversation

cjgillot
Copy link
Contributor

@cjgillot cjgillot commented Apr 7, 2022

This PR moves the handling of implicitly and explicitly static lifetimes in constants from HIR to the AST.

@rustbot rustbot added the T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. label Apr 7, 2022
@rust-highfive
Copy link
Contributor

Some changes occurred in src/tools/rustfmt.

cc @calebcartwright

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Apr 7, 2022
@rust-log-analyzer

This comment has been minimized.

@cjgillot cjgillot force-pushed the ast-lifetimes-static branch from 655cbd5 to 0b92aca Compare April 7, 2022 19:25
@cjgillot cjgillot added S-blocked Status: Blocked on something else such as an RFC or other implementation work. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Apr 7, 2022
@bors

This comment was marked as resolved.

@cjgillot cjgillot force-pushed the ast-lifetimes-static branch from ee22022 to bdc97fa Compare April 15, 2022 12:18
@bors

This comment was marked as resolved.

@cjgillot cjgillot force-pushed the ast-lifetimes-static branch from bdc97fa to 40799a5 Compare April 17, 2022 16:24
@bors

This comment was marked as resolved.

@cjgillot cjgillot force-pushed the ast-lifetimes-static branch from 40799a5 to f06716f Compare April 28, 2022 16:32
@cjgillot cjgillot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-blocked Status: Blocked on something else such as an RFC or other implementation work. labels Apr 28, 2022
@petrochenkov petrochenkov added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Apr 28, 2022
@cjgillot cjgillot force-pushed the ast-lifetimes-static branch from f06716f to 8660a14 Compare April 29, 2022 18:18
@petrochenkov
Copy link
Contributor

r=me after addressing #95776 (comment) and squashing commits.

The extra diagnostics come from the compiler no longer aborting before
typeck.
@cjgillot cjgillot force-pushed the ast-lifetimes-static branch from 8660a14 to 7d990a8 Compare April 29, 2022 22:29
@petrochenkov
Copy link
Contributor

@bors r+

@bors
Copy link
Collaborator

bors commented Apr 30, 2022

📌 Commit 7d990a8 has been approved by petrochenkov

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Apr 30, 2022
@bors
Copy link
Collaborator

bors commented Apr 30, 2022

⌛ Testing commit 7d990a8 with merge 76d4862...

@bors
Copy link
Collaborator

bors commented Apr 30, 2022

☀️ Test successful - checks-actions
Approved by: petrochenkov
Pushing 76d4862 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Apr 30, 2022
@bors bors merged commit 76d4862 into rust-lang:master Apr 30, 2022
@rustbot rustbot added this to the 1.62.0 milestone Apr 30, 2022
@rust-timer
Copy link
Collaborator

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

@cjgillot cjgillot deleted the ast-lifetimes-static branch April 30, 2022 18:09
JohnTitor added a commit to JohnTitor/rust that referenced this pull request May 5, 2022
…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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants