Sign in
rust
/
rust-lang
/
rust
/
refs/heads/lcnr/rustc-dev-guide
/
.
/
tests
/
ui
/
impl-trait
/
explicit-generic-args-with-impl-trait
/
explicit-generic-args.rs
blob: a48e870e982d4d678991c4fb22d3dd89912fcff3 [
file
] [
log
] [
blame
]
//@ check-pass
fn
foo
<
T
:
?
Sized
>(
_f
:
impl
AsRef
<
T
>)
{}
fn
main
()
{
foo
::<
str
>(
""
.
to_string
());
}