Skip to content

Commit b6a4f03

Browse files
committed
revise cfail test, removing ugeh attribute that was erroneously cut-and-pasted into it.
1 parent 61f8def commit b6a4f03

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/test/compile-fail/issue28498-reject-passed-to-fn.rs

-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ impl Drop for ScribbleOnDrop {
2525
struct Foo<T>(u32, T, Box<for <'r> fn(&'r T) -> String>);
2626

2727
impl<T> Drop for Foo<T> {
28-
#[unsafe_destructor_blind_to_params]
2928
fn drop(&mut self) {
3029
// Use of `unsafe_destructor_blind_to_params` is unsound,
3130
// because we pass `T` to the callback in `self.2`

0 commit comments

Comments
 (0)