]>
git.proxmox.com Git - rustc.git/blob - tests/ui/fn/implied-bounds-unnorm-associated-type.rs
2 // See issue #91068. We check that the unnormalized associated types in
3 // function signatures are implied
13 fn f
<'a
, 'b
>(s
: &'b
str, _
: <&'a
&'
b () as Trait
>::Type
) -> &'a
str {
18 let x
= String
::from("Hello World!");
21 //~^ ERROR cannot move out of `x` because it is borrowed