Skip to content

Conversation

A4-Tacks
Copy link
Contributor

Change lint attribute level.

Example

#[$0allow(dead_code)]
fn foo() {}

->

#[expect(dead_code)]
fn foo() {}

#[$0forbid(dead_code)]
fn foo() {}

->

#[deny(dead_code)]
fn foo() {}

Change lint attribute level.

Example
---
```
#[$0allow(dead_code)]
fn foo() {}
```
->
```
#[expect(dead_code)]
fn foo() {}
```

---

```
#[$0forbid(dead_code)]
fn foo() {}
```
->
```
#[deny(dead_code)]
fn foo() {}
```
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Aug 28, 2025
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants