blob: d2adbe01c18286f11a66787f469f0d0664a8d479 [file] [log] [blame]
fn main() {
let _: std::num::NonZeroU64 = 1;
//~^ ERROR mismatched types
//~| HELP consider calling `NonZeroU64::new`
let _: Option<std::num::NonZeroU64> = 1;
//~^ ERROR mismatched types
//~| HELP consider calling `NonZeroU64::new`
}