We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61f8def commit b6a4f03Copy full SHA for b6a4f03
src/test/compile-fail/issue28498-reject-passed-to-fn.rs
@@ -25,7 +25,6 @@ impl Drop for ScribbleOnDrop {
25
struct Foo<T>(u32, T, Box<for <'r> fn(&'r T) -> String>);
26
27
impl<T> Drop for Foo<T> {
28
- #[unsafe_destructor_blind_to_params]
29
fn drop(&mut self) {
30
// Use of `unsafe_destructor_blind_to_params` is unsound,
31
// because we pass `T` to the callback in `self.2`
0 commit comments