Sign in
◑
Theme
rust
/
rust
/
573bd7d4ada3677648942e644f0894de7d22ac14
/
.
/
tests
/
ui
/
type-inference
/
ambiguous-num-type-method-call.rs
blob: ee3c95ba0843be21de5b3bc9e2298ca50b3b3af8 [
file
]
//! regression test for <https://github.com/rust-lang/rust/issues/51874>
fn
main
()
{
let
a
=
(
1.0
).
pow
(
1.0
);
//~ ERROR can't call method `pow` on ambiguous numeric type
}