]> git.proxmox.com Git - rustc.git/blame - src/test/ui/impl-trait/issues/issue-88236.rs
Update unsuspicious file list
[rustc.git] / src / test / ui / impl-trait / issues / issue-88236.rs
CommitLineData
ee023bcb
FG
1// this used to cause stack overflows
2
3trait Hrtb<'a> {
4 type Assoc;
5}
6
7impl<'a> Hrtb<'a> for () {
8 type Assoc = ();
9}
10
11impl<'a> Hrtb<'a> for &'a () {
12 type Assoc = ();
13}
14
15fn make_impl() -> impl for<'a> Hrtb<'a, Assoc = impl Send + 'a> {}
16//~^ ERROR higher kinded lifetime bounds on nested opaque types are not supported yet
17
18fn main() {}