Skip to content

Make the dangerous_implicit_autorefs lint deny-by-default#141661

Merged
bors merged 1 commit intorust-lang:masterfrom
Urgau:deny-dangerous_implicit_autorefs
Jun 8, 2025
Merged

Make the dangerous_implicit_autorefs lint deny-by-default#141661
bors merged 1 commit intorust-lang:masterfrom
Urgau:deny-dangerous_implicit_autorefs

Conversation

@Urgau
Copy link
Copy Markdown
Member

@Urgau Urgau commented May 27, 2025

I intended for the dangerous_implicit_autorefs lint to be deny-by-default, the T-lang nomination comment even clearly mentioned deny-by-default, but somehow I and other missed that it is only warn-by-default.

I think the lint should still be deny-by-default as the implicit aliasing requirements can be quite dangerous.

In any-case, opening this PR for T-lang awareness.

@rustbot label +I-lang-nominated +T-lang
r? @traviscross

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

Labels

A-lints Area: Lints (warnings about flaws in source code) such as unused_mut. disposition-merge This issue / PR is in PFCP or FCP with a disposition to merge it. finished-final-comment-period The final comment period is finished for this PR / Issue. I-lang-radar Items that are on lang's radar and will need eventual work or consideration. L-dangerous_implicit_autorefs Lint: dangerous_implicit_autorefs S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-lang Relevant to the language team

Projects

None yet

Development

Successfully merging this pull request may close these issues.