Skip to content

Commit

Permalink
revise cfail test, removing ugeh attribute that was erroneously cut-a…
Browse files Browse the repository at this point in the history
…nd-pasted into it.
  • Loading branch information
pnkfelix committed Oct 9, 2015
1 parent 61f8def commit b6a4f03
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/test/compile-fail/issue28498-reject-passed-to-fn.rs
Expand Up @@ -25,7 +25,6 @@ impl Drop for ScribbleOnDrop {
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`
Expand Down

0 comments on commit b6a4f03

Please sign in to comment.