Surround types with backticks in type errors
This commit is contained in:
parent
94c6425464
commit
6f8f70624b
351 changed files with 1086 additions and 1086 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue