Skip to content

Commit b495c12

Browse files
authored
Rollup merge of #103082 - gimbles:patch-1, r=cjgillo
Surround type with backticks Very smol PR. :)
2 parents d08f4a6 + 49f34bd commit b495c12

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)