Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/librustc_error_codes/error_codes/E0220.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
You used an associated type which isn't defined in the trait.
The associated type used was not defined in the trait.

Erroneous code example:

```compile_fail,E0220
Expand Down
3 changes: 2 additions & 1 deletion src/librustc_error_codes/error_codes/E0221.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
An attempt was made to retrieve an associated type, but the type was ambiguous.
For example:

Erroneous code example:

```compile_fail,E0221
trait T1 {}
Expand Down
3 changes: 2 additions & 1 deletion src/librustc_error_codes/error_codes/E0222.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
An attempt was made to constrain an associated type.
For example:

Erroneous code example:

```compile_fail,E0222
pub trait Vehicle {
Expand Down