diff options
| author | Yuki Okushi <jtitor@2k36.org> | 2022-10-16 11:41:14 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-16 11:41:14 +0900 |
| commit | b495c122e8880244d10ea666086908230b3dd93c (patch) | |
| tree | 7333ee56adeb0c6aead21b7040b1205c518082b3 | |
| parent | d08f4a6464c29c081cb92f95d60fcb014bd039d6 (diff) | |
| parent | 49f34bd8147a84229cc6641f2d386f09ee12c7e5 (diff) | |
| download | rust-b495c122e8880244d10ea666086908230b3dd93c.tar.gz rust-b495c122e8880244d10ea666086908230b3dd93c.zip | |
Rollup merge of #103082 - gimbles:patch-1, r=cjgillo
Surround type with backticks Very smol PR. :)
| -rw-r--r-- | compiler/rustc_const_eval/src/transform/validate.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_const_eval/src/transform/validate.rs b/compiler/rustc_const_eval/src/transform/validate.rs index 87b7c55bf7f..fbb129f9724 100644 --- a/compiler/rustc_const_eval/src/transform/validate.rs +++ b/compiler/rustc_const_eval/src/transform/validate.rs @@ -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 ) ) |
