Missing unnecessary unsafe block warning #45107
Labels
A-lint
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-bug
Category: This is a bug.
P-high
High priority
regression-from-stable-to-nightly
Performance or correctness regression from stable to nightly.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
The following code uses a redundant
unsafe
block inside a closure.This is a warning on stable but there is no warning on nightly.
To reproduce (playground):
Probably due to #44700, cc @arielb1
The text was updated successfully, but these errors were encountered: