blob: c9b9e128f88e2af5930ded809662381f75202870 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#![feature(type_alias_impl_trait)]
fn main() {}
type Two<'a, 'b> = impl std::fmt::Debug;
fn one<'a>(t: &'a ()) -> Two<'a, 'a> {
t
//~^ ERROR non-defining opaque type use
}
|