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)
}
});
}