Update E0133 docs for 2024 edition
This commit is contained in:
parent
96cfc75584
commit
6cc6b86e40
1 changed files with 2 additions and 1 deletions
|
@ -45,6 +45,7 @@ unsafe fn g() {
|
|||
```
|
||||
|
||||
Linting against this is controlled via the `unsafe_op_in_unsafe_fn` lint, which
|
||||
is `allow` by default but will be upgraded to `warn` in a future edition.
|
||||
is `warn` by default in the 2024 edition and `allow` by default in earlier
|
||||
editions.
|
||||
|
||||
[unsafe-section]: https://doc.rust-lang.org/book/ch19-01-unsafe-rust.html
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue