test: Fix unused variable warning in repeat-to-run-dtor-twice.rs.
Hopefully puts out burning tinderbox.
This commit is contained in:
parent
6b1a9af173
commit
0845579130
@ -11,6 +11,6 @@ struct Foo {
|
||||
|
||||
fn main() {
|
||||
let a = Foo { x: 3 };
|
||||
let b = [ a, ..5 ]; //~ ERROR copying a noncopyable value
|
||||
let _ = [ a, ..5 ]; //~ ERROR copying a noncopyable value
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user