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