This website requires JavaScript.
Explore
Sign In
mirror
/
rust
mirror of
https://github.com/rust-lang/rust
Watch
1
Star
0
Fork
You've already forked rust
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
master
rust
/
tests
/
ui
/
impl-trait
/
explicit-generic-args-with-...
/
explicit-generic-args.rs
8 lines
103 B
Rust
Raw
Permalink
Blame
History
//@ check-pass
fn
foo
<
T
:
?
Sized
>
(
_f
:
impl
AsRef
<
T
>
)
{
}
fn
main
(
)
{
foo
::
<
str
>
(
"
"
.
to_string
(
)
)
;
}
Reference in New Issue
View Git Blame
Copy Permalink