Sign in
fuchsia
/
third_party
/
rust
/
eda6dc928323fcd0ac1b51cea1aa79ab17e8519d
/
.
/
tests
/
ui
/
inference
/
issue-86162-1.rs
blob: 5a547eb38d1f9f2e683207265a70d59f100cfb39 [
file
] [
log
] [
blame
]
// Regression test of #86162.
fn
foo
(
x
:
impl
Clone
)
{}
fn
gen
<
T
>()
->
T
{
todo
!()
}
fn
main
()
{
foo
(
gen
());
//<- Do not suggest `foo::<impl Clone>()`!
//~^ ERROR: type annotations needed
}