Sign in
fuchsia
/
third_party
/
rust
/
2c4bf249bd47f232de3c1e78ffe69b40c29bfcca
/
.
/
tests
/
ui
/
mismatched_types
/
non_zero_assigned_something.rs
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`
}