diff --git a/src/librustc_error_codes/error_codes/E0220.md b/src/librustc_error_codes/error_codes/E0220.md index 43e075b522b4e..ddc54007c8c52 100644 --- a/src/librustc_error_codes/error_codes/E0220.md +++ b/src/librustc_error_codes/error_codes/E0220.md @@ -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 diff --git a/src/librustc_error_codes/error_codes/E0221.md b/src/librustc_error_codes/error_codes/E0221.md index 53fabf490e2c3..26111ca429333 100644 --- a/src/librustc_error_codes/error_codes/E0221.md +++ b/src/librustc_error_codes/error_codes/E0221.md @@ -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 {} diff --git a/src/librustc_error_codes/error_codes/E0222.md b/src/librustc_error_codes/error_codes/E0222.md index 66b6c4d712b70..fbf1b8d703314 100644 --- a/src/librustc_error_codes/error_codes/E0222.md +++ b/src/librustc_error_codes/error_codes/E0222.md @@ -1,5 +1,6 @@ An attempt was made to constrain an associated type. -For example: + +Erroneous code example: ```compile_fail,E0222 pub trait Vehicle {