mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 18:23:49 +00:00
e0a60f0740
This reverts commitcb9467515b
, reversing changes made to57781b24c5
.
11 lines
244 B
Rust
11 lines
244 B
Rust
#![feature(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>) {
|
|
(a, a)
|
|
//~^ ERROR concrete type differs from previous defining opaque type use
|
|
}
|
|
|
|
fn main() {}
|