]> git.lizzy.rs Git - rust.git/blob - tests/ui/type-alias-impl-trait/generic_lifetime_param.rs
Rollup merge of #105795 - nicholasbishop:bishop-stabilize-efiapi, r=joshtriplett
[rust.git] / tests / ui / type-alias-impl-trait / generic_lifetime_param.rs
1 // check-pass
2
3 #![feature(type_alias_impl_trait)]
4
5 fn main() {}
6
7 type Region<'a> = impl std::fmt::Debug + 'a;
8
9
10 fn region<'b>(a: &'b ()) -> Region<'b> {
11     a
12 }