1
Fork 0

Rollup merge of #103082 - gimbles:patch-1, r=cjgillo

Surround type with backticks

Very smol PR. :)
This commit is contained in:
Yuki Okushi 2022-10-16 11:41:14 +09:00 committed by GitHub
commit b495c122e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
)
)