mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-31 05:26:23 +03:00
fix tests
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user