Skip to content

Commit 49f34bd

Browse files
author
Gimgim
authored
Surround type with backticks
1 parent 46244f3 commit 49f34bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_const_eval/src/transform/validate.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ impl<'a, 'tcx> Visitor<'tcx> for TypeChecker<'a, 'tcx> {
284284
this.fail(
285285
location,
286286
format!(
287-
"Field projection `{:?}.{:?}` specified type `{:?}`, but actual type is {:?}",
287+
"Field projection `{:?}.{:?}` specified type `{:?}`, but actual type is `{:?}`",
288288
parent, f, ty, f_ty
289289
)
290290
)

0 commit comments

Comments
 (0)