Sign in
fuchsia
/
third_party
/
rust
/
f02ffb8b4ca760117875f3b5326e9cff6598dde3
/
.
/
src
/
test
/
ui
/
type
/
type-annotation-needed.rs
blob: 3b1521d5c028b387f4cd4aff36de98863206d82e [
file
] [
log
] [
blame
]
fn
foo
<
T
:
Into
<
String
>>(
x
:
i32
)
{}
//~^ NOTE required by
//~| NOTE
fn
main
()
{
foo
(
42
);
//~^ ERROR type annotations needed
}