Skip to content

Commit

Permalink
Surround type with backticks
Browse files Browse the repository at this point in the history
  • Loading branch information
gimbling-away authored Oct 15, 2022
1 parent 46244f3 commit 49f34bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_const_eval/src/transform/validate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ impl<'a, 'tcx> Visitor<'tcx> for TypeChecker<'a, 'tcx> {
this.fail(
location,
format!(
"Field projection `{:?}.{:?}` specified type `{:?}`, but actual type is {:?}",
"Field projection `{:?}.{:?}` specified type `{:?}`, but actual type is `{:?}`",
parent, f, ty, f_ty
)
)
Expand Down

0 comments on commit 49f34bd

Please sign in to comment.