]>
git.proxmox.com Git - rustc.git/blob - tests/ui/nll/issue-50716.rs
2 // Regression test for the issue #50716: NLL ignores lifetimes bounds
3 // derived from `Sized` requirements
9 fn foo
<'a
, T
: '
static>(s
: Box
<<&'a T
as A
>::X
>)
12 <&'
static T
as A
>::X
: Sized
14 let _x
= *s
; //~ ERROR