Skip to content

Commit 6cc6b86

Browse files
committed
Update E0133 docs for 2024 edition
1 parent 96cfc75 commit 6cc6b86

File tree

1 file changed

+2
-1
lines changed
  • compiler/rustc_error_codes/src/error_codes

1 file changed

+2
-1
lines changed

Diff for: compiler/rustc_error_codes/src/error_codes/E0133.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ unsafe fn g() {
4545
```
4646

4747
Linting against this is controlled via the `unsafe_op_in_unsafe_fn` lint, which
48-
is `allow` by default but will be upgraded to `warn` in a future edition.
48+
is `warn` by default in the 2024 edition and `allow` by default in earlier
49+
editions.
4950

5051
[unsafe-section]: https://doc.rust-lang.org/book/ch19-01-unsafe-rust.html

0 commit comments

Comments
 (0)