]>
git.proxmox.com Git - rustc.git/blob - tests/ui/regions/region-bound-same-bounds-in-trait-and-impl.rs
1 // Test related to #22779, but where the `'a:'b` relation
2 // appears in the trait too. No error here.
7 fn renew
<'b
: 'a
>(self) -> &'b
mut [T
] where 'a
: 'b
;
10 impl<'a
, T
> Tr
<'a
, T
> for &'a
mut [T
] {
11 fn renew
<'b
: 'a
>(self) -> &'b
mut [T
] where 'a
: 'b
{