]> git.lizzy.rs Git - rust.git/commitdiff
revise cfail test, removing ugeh attribute that was erroneously cut-and-pasted into it.
authorFelix S. Klock II <pnkfelix@pnkfx.org>
Fri, 9 Oct 2015 11:30:08 +0000 (13:30 +0200)
committerFelix S. Klock II <pnkfelix@pnkfx.org>
Fri, 9 Oct 2015 11:30:08 +0000 (13:30 +0200)
src/test/compile-fail/issue28498-reject-passed-to-fn.rs

index 89e6d68567d47eb959a2c375cdfe0d89085f3d04..27378b1e0bec04da1b783a44be7adebd5b8692ea 100644 (file)
@@ -25,7 +25,6 @@ fn drop(&mut self) {
 struct Foo<T>(u32, T, Box<for <'r> fn(&'r T) -> String>);
 
 impl<T> Drop for Foo<T> {
-    #[unsafe_destructor_blind_to_params]
     fn drop(&mut self) {
         // Use of `unsafe_destructor_blind_to_params` is unsound,
         // because we pass `T` to the callback in `self.2`