Skip to content

Commit eea3c83

Browse files
committed
add note on lint severity in future editions
1 parent 9dee6b6 commit eea3c83

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

text/0000-unsafe-attributes.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ For backwards compatibility reasons, using these attributes outside of
8484
`unsafe_attr_outside_unsafe`. Initially, this lint will be allow-by-default.
8585
Unsafe attributes that are added in the future can hard-require `unsafe` from
8686
the start since the backwards compatibility concern does not apply to them.
87+
The 2024 edition is also expected to increase the severity of this lint,
88+
possibly even making it a hard error.
8789

8890
Syntactically, for each unsafe attribute `attr`, we now also accept
8991
`unsafe(attr)` anywhere that `attr` can be used (in particular, inside

0 commit comments

Comments
 (0)