mirror of https://github.com/rust-lang/rust
10 lines
300 B
Rust
10 lines
300 B
Rust
#![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() {}
|