Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@nbdd0121
Copy link
Member

@nbdd0121 nbdd0121 commented Dec 5, 2025

Follow up to #138492 to remove the lowering of inline const that still remains.

Only visible change is that when reporting the error, the "const" keyword is covered in span too, which I think is better.

r? @lcnr

This makes it obvious that inline const pat is removed (and the parsing is only
preserved for better error message).
This feature has been removed but some lowering remains. Let's remove them.
@rustbot
Copy link
Collaborator

rustbot commented Dec 5, 2025

Some changes occurred in src/tools/clippy

cc @rust-lang/clippy

Some changes occurred in match checking

cc @Nadrieril

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-clippy Relevant to the Clippy team. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Dec 5, 2025
@Nadrieril
Copy link
Member

cc @dianne

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-clippy Relevant to the Clippy team. 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.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.