summaryrefslogtreecommitdiffstats
path: root/tests/ui/type-alias-impl-trait/nested-impl-trait-in-tait.rs
blob: fec0fdc46fbb64fb73d8f084990c283316a53665 (plain)
1
2
3
4
5
6
7
8
9
#![feature(type_alias_impl_trait)]

pub type Tait = impl Iterator<Item = (&'db Key, impl Iterator)>;
//~^ ERROR use of undeclared lifetime name `'db`
//~| ERROR cannot find type `Key` in this scope
//~| ERROR unconstrained opaque type
//~| ERROR unconstrained opaque type

pub fn main() {}