Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
trait-bounds
/
issue-94680.rs
blob: 7937ce9eadf23182c9e74f767fdc9106a7788fa2 [
file
] [
log
] [
blame
] [
edit
]
//@ check-pass
fn
main
()
{
println
!(
"{:?}"
,
{
type
T
=
();
pub
fn
cloneit
(
it
:
&
'_ mut T) -> (&'
_
mut
T
,
&
'
_
mut
T
)
where
for
<
'any> &'
any
mut
T
:
Clone
,
{
(
it
.
clone
(),
it
)
}
});
}