rustc_layout_scalar_valid_range_start
doesn't prevent unused_unsafe
lint
#57183
Labels
C-cleanup
Category: PRs that clean code up or issues documenting cleanup.
Edit: this is just a stage 0 problem, so we can conditionally ignore those warnings for now.
rustc_layout_scalar_valid_range_start
requiresunsafe
, but does not causeunsafe
blocks to be counted as "used", meaning that the following:rust/src/libcore/num/mod.rs
Line 71 in 3cda631
is warned as unused, but removing the
unsafe
causes an error.The text was updated successfully, but these errors were encountered: