Skip to content

Commit

Permalink
Stabilize GATs
Browse files Browse the repository at this point in the history
  • Loading branch information
jackh726 committed Aug 31, 2022
1 parent ddda7bb commit 748b031
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 12 deletions.
3 changes: 0 additions & 3 deletions tests/source/issue_4257.rs
Original file line number Diff line number Diff line change
@@ -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<'_>;
Expand Down
1 change: 0 additions & 1 deletion tests/source/issue_4911.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![feature(generic_associated_types)]
#![feature(min_type_alias_impl_trait)]

impl SomeTrait for SomeType {
Expand Down
2 changes: 0 additions & 2 deletions tests/source/issue_4943.rs
Original file line number Diff line number Diff line change
@@ -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>
Expand Down
3 changes: 0 additions & 3 deletions tests/target/issue_4257.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#![feature(generic_associated_types)]
#![allow(incomplete_features)]

trait Trait<T> {
type Type<'a>
where
Expand Down
1 change: 0 additions & 1 deletion tests/target/issue_4911.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![feature(generic_associated_types)]
#![feature(min_type_alias_impl_trait)]

impl SomeTrait for SomeType {
Expand Down
2 changes: 0 additions & 2 deletions tests/target/issue_4943.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![feature(generic_associated_types)]

impl SomeStruct {
fn process<T>(v: T) -> <Self as GAT>::R<T>
where
Expand Down

0 comments on commit 748b031

Please sign in to comment.