blob: 58e892079e65fda938ec3e7405d665e6cee9e92f [file] [log] [blame]
// 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)
}
});
}