Markdown formatting for error explanations.

This commit is contained in:
Ricardo Martins 2015-05-13 12:00:59 +01:00
parent dd9dcc1e28
commit 06b084fc9f
2 changed files with 7 additions and 2 deletions

View file

@ -427,8 +427,8 @@ be taken.
E0271: r##"
This is because of a type mismatch between the associated type of some
trait (e.g. T::Bar, where T implements trait Quux { type Bar; })
and another type U that is required to be equal to T::Bar, but is not.
trait (e.g. `T::Bar`, where `T` implements `trait Quux { type Bar; }`)
and another type `U` that is required to be equal to `T::Bar`, but is not.
Examples follow.
Here is a basic example: