2018-06-26 17:00:39 +02: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-04 00:00:00 +00:00
|
|
|
// check-pass
|
2018-06-26 17:00:39 +02:00
|
|
|
|
|
|
|
struct Qey<Q: ?Sized>(Q);
|
|
|
|
|
|
|
|
fn main() {}
|