Surround types with backticks in type errors

This commit is contained in:
Esteban Küber 2019-11-15 09:37:01 -08:00
parent 94c6425464
commit 6f8f70624b
351 changed files with 1086 additions and 1086 deletions

View file

@ -9,7 +9,7 @@ error[E0308]: mismatched types
--> $DIR/failed-doctest-missing-codes.rs:9:13
|
LL | let x: () = 5i32;
| ^^^^ expected (), found i32
| ^^^^ expected `()`, found `i32`
error: aborting due to previous error