]> git.lizzy.rs Git - rust.git/blob - src/test/ui/existential_types/generic_lifetime_param.rs
Rollup merge of #57107 - mjbshaw:thread_local_test, r=nikomatsakis
[rust.git] / src / test / ui / existential_types / generic_lifetime_param.rs
1 // compile-pass
2
3 #![feature(existential_type)]
4
5 fn main() {}
6
7 existential type Region<'a>: std::fmt::Debug;
8
9 fn region<'b>(a: &'b ()) -> Region<'b> {
10     a
11 }