about summary refs log tree commit diff
path: root/tests/ui/type-alias-impl-trait/nested-impl-trait-in-tait.rs
blob: 6a74d1dc4ef3890eaa794dff396b14ba6cf28984 (plain)
1
2
3
4
5
6
7
8
9
#![feature(type_alias_impl_trait)]

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

pub fn main() {}