Sign in
android
/
toolchain
/
rustc
/
ff3f07ae99a30006dd85b9d73084edd9355c9db6
/
.
/
src
/
test
/
ui
/
rfc-1937-termination-trait
/
termination-trait-test-wrong-type.rs
blob: c648f5428571c8854c236638c22802cd5ed144ce [
file
] [
log
] [
blame
]
// compile-flags: --test
use
std
::
num
::
ParseIntError
;
#[
test
]
fn
can_parse_zero_as_f32
()
->
Result
<
f32
,
ParseIntError
>
{
//~ ERROR
"0"
.
parse
()
}