]>
git.proxmox.com Git - rustc.git/blob - tests/ui/issues/issue-14821.rs
3 #![allow(unused_variables)]
6 impl SomeTrait
for Meow {}
14 pub fn new
<'b
>(x
: &'b
dyn SomeTrait
, y
: &'b
dyn SomeTrait
) -> Foo
<'b
> { Foo { x: x, y: y }
}
20 let q
= Foo
::new(&r
as &dyn SomeTrait
, &s
as &dyn SomeTrait
);