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