Simplify insert_outlives_predicate opaque type logic
This commit is contained in:
parent
615c9e8647
commit
20d962cfa5
2 changed files with 23 additions and 31 deletions
|
|
@ -0,0 +1,8 @@
|
|||
// check-pass
|
||||
|
||||
#![feature(type_alias_impl_trait)]
|
||||
type Opaque<T> = impl Sized;
|
||||
fn defining<T>() -> Opaque<T> {}
|
||||
struct Ss<'a, T>(&'a Opaque<T>);
|
||||
|
||||
fn main() {}
|
||||
Loading…
Add table
Add a link
Reference in a new issue