]> git.lizzy.rs Git - rust.git/blob - tests/ui/trait-bounds/issue-94680.rs
Rollup merge of #107234 - Rattenkrieg:bootstrap-fix-is_ci_llvm_available, r=albertlar...
[rust.git] / tests / ui / trait-bounds / issue-94680.rs
1 // check-pass
2
3 fn main() {
4     println!("{:?}", {
5         type T = ();
6
7         pub fn cloneit(it: &'_ mut T) -> (&'_ mut T, &'_ mut T)
8         where
9             for<'any> &'any mut T: Clone,
10         {
11             (it.clone(), it)
12         }
13     });
14 }