Stabilize GATs
This commit is contained in:
parent
ddda7bbe5d
commit
748b031056
@ -1,6 +1,3 @@
|
||||
#![feature(generic_associated_types)]
|
||||
#![allow(incomplete_features)]
|
||||
|
||||
trait Trait<T> {
|
||||
type Type<'a> where T: 'a;
|
||||
fn foo(x: &T) -> Self::Type<'_>;
|
||||
|
@ -1,4 +1,3 @@
|
||||
#![feature(generic_associated_types)]
|
||||
#![feature(min_type_alias_impl_trait)]
|
||||
|
||||
impl SomeTrait for SomeType {
|
||||
|
@ -1,5 +1,3 @@
|
||||
#![feature(generic_associated_types)]
|
||||
|
||||
impl SomeStruct {
|
||||
fn process<T>(v: T) -> <Self as GAT>::R<T>
|
||||
where Self: GAT<R<T> = T>
|
||||
|
@ -1,6 +1,3 @@
|
||||
#![feature(generic_associated_types)]
|
||||
#![allow(incomplete_features)]
|
||||
|
||||
trait Trait<T> {
|
||||
type Type<'a>
|
||||
where
|
||||
|
@ -1,4 +1,3 @@
|
||||
#![feature(generic_associated_types)]
|
||||
#![feature(min_type_alias_impl_trait)]
|
||||
|
||||
impl SomeTrait for SomeType {
|
||||
|
@ -1,5 +1,3 @@
|
||||
#![feature(generic_associated_types)]
|
||||
|
||||
impl SomeStruct {
|
||||
fn process<T>(v: T) -> <Self as GAT>::R<T>
|
||||
where
|
||||
|
Loading…
Reference in New Issue
Block a user