Stabilize associated type bounds

This commit is contained in:
Michael Goulet 2024-03-05 18:23:01 +00:00
parent a655e648a9
commit c63f3feb0f
95 changed files with 147 additions and 533 deletions

View file

@ -3,8 +3,6 @@ An associated type value was specified more than once.
Erroneous code example:
```compile_fail,E0719
#![feature(associated_type_bounds)]
trait FooTrait {}
trait BarTrait {}
@ -19,8 +17,6 @@ specify the associated type with the new trait.
Corrected example:
```
#![feature(associated_type_bounds)]
trait FooTrait {}
trait BarTrait {}
trait FooBarTrait: FooTrait + BarTrait {}