]> git.lizzy.rs Git - rust.git/blob - src/test/ui/nll/issue-50716-1.rs
Rollup merge of #60685 - dtolnay:spdx, r=nikomatsakis
[rust.git] / src / test / ui / nll / issue-50716-1.rs
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 //
6 // revisions: migrate nll
7 //
8 // compile-pass
9
10 #![cfg_attr(nll, feature(nll))]
11
12 struct Qey<Q: ?Sized>(Q);
13
14 fn main() {}