revise cfail test, removing ugeh attribute that was erroneously cut-and-pasted into it.
This commit is contained in:
parent
61f8def63a
commit
b6a4f0393b
1 changed files with 0 additions and 1 deletions
|
@ -25,7 +25,6 @@ impl Drop for ScribbleOnDrop {
|
||||||
struct Foo<T>(u32, T, Box<for <'r> fn(&'r T) -> String>);
|
struct Foo<T>(u32, T, Box<for <'r> fn(&'r T) -> String>);
|
||||||
|
|
||||||
impl<T> Drop for Foo<T> {
|
impl<T> Drop for Foo<T> {
|
||||||
#[unsafe_destructor_blind_to_params]
|
|
||||||
fn drop(&mut self) {
|
fn drop(&mut self) {
|
||||||
// Use of `unsafe_destructor_blind_to_params` is unsound,
|
// Use of `unsafe_destructor_blind_to_params` is unsound,
|
||||||
// because we pass `T` to the callback in `self.2`
|
// because we pass `T` to the callback in `self.2`
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue