]> git.proxmox.com Git - rustc.git/blame - src/test/ui/nll/issue-50716-1.rs
New upstream version 1.66.0+dfsg1
[rustc.git] / src / test / ui / nll / issue-50716-1.rs
CommitLineData
8faf50e0
XL
1//
2// An additional regression test for the issue #50716 “NLL ignores lifetimes
3// bounds derived from `Sized` requirements” that checks that the fixed compiler
4// accepts this code fragment with both AST and MIR borrow checkers.
5//
60c5eb7d 6// check-pass
223e47cc 7
8faf50e0 8struct Qey<Q: ?Sized>(Q);
8bb4bdeb 9
8faf50e0 10fn main() {}