blob: 1e602f27247d7d165b854ecd3a2d72f7269f1c59 [file] [log] [blame]
//
// An additional regression test for the issue #50716 “NLL ignores lifetimes
// bounds derived from `Sized` requirements” that checks that the fixed compiler
// accepts this code fragment with both AST and MIR borrow checkers.
//
// build-pass (FIXME(62277): could be check-pass?)
struct Qey<Q: ?Sized>(Q);
fn main() {}