Sign in
fuchsia
/
third_party
/
rust
/
08351004125c4d49aa757f2c3ec2340f7469ea91
/
.
/
src
/
test
/
ui
/
rfc-1937-termination-trait
/
termination-trait-test-wrong-type.rs
blob: 193a523aed24bab627a78589bed704b887c53025 [
file
] [
log
] [
blame
]
// compile-flags: --test
use
std
::
num
::
ParseFloatError
;
#[
test
]
fn
can_parse_zero_as_f32
()
->
Result
<
f32
,
ParseFloatError
>
{
//~ ERROR
"0"
.
parse
()
}