Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
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
}