2018-06-26 10:00:39 -05:00
|
|
|
//
|
|
|
|
// 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.
|
|
|
|
//
|
2019-11-03 18:00:00 -06:00
|
|
|
// check-pass
|
2018-06-26 10:00:39 -05:00
|
|
|
|
|
|
|
struct Qey<Q: ?Sized>(Q);
|
|
|
|
|
|
|
|
fn main() {}
|