]> git.lizzy.rs Git - rust.git/blob - tests/ui/trait-bounds/issue-75961.rs
Rollup merge of #106323 - starkat99:stabilize-f16c_target_feature, r=petrochenkov
[rust.git] / tests / ui / trait-bounds / issue-75961.rs
1 // check-pass
2
3 pub fn foo<'a>(s: &'a mut ()) where &'a mut (): Clone {
4     <&mut () as Clone>::clone(&s);
5 }
6
7 fn main() {}