fix tests

This commit is contained in:
Ralf Jung
2018-12-07 10:15:25 +01:00
parent 1a41ce6319
commit bbdc3380d5
+1 -1
View File
@@ -7,5 +7,5 @@
fn main() {
// Make sure that we detect this even when no function call is happening along the way
let _x = Some(NonZero(0)); //~ ERROR encountered 0, but expected something greater or equal to 1
let _x = Some(unsafe { NonZero(0) }); //~ ERROR encountered 0, but expected something greater or equal to 1
}