summary refs log tree commit diff
path: root/src/test/ui/impl-trait/issue-86465.rs
blob: 23a3748c12c6aaa10289c87936d6116c00318a21 (plain)
1
2
3
4
5
6
7
8
9
10
#![feature(min_type_alias_impl_trait)]

type X<'a, 'b> = impl std::fmt::Debug;

fn f<'t, 'u>(a: &'t u32, b: &'u u32) -> (X<'t, 'u>, X<'u, 't>) {
    //~^ ERROR concrete type differs from previous defining opaque type use
    (a, a)
}

fn main() {}