diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-11-10 01:50:25 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-10 01:50:25 +0100 |
| commit | 7fd7719ca158589fa795678826cbf5991599f612 (patch) | |
| tree | 7d4361216f4e0c9b955a33110100c0dfa0a0fed7 | |
| parent | 0f1da7e682186c40152509c3d55ee78cc0de4d5b (diff) | |
| parent | b8648216a5eadd043a3fb1eb486a86fc55e17ab6 (diff) | |
Rollup merge of #117741 - eltociear:patch-23, r=compiler-errors
Fix typo in internal.rs covert -> convert
| -rw-r--r-- | compiler/rustc_smir/src/rustc_internal/internal.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_smir/src/rustc_internal/internal.rs b/compiler/rustc_smir/src/rustc_internal/internal.rs index 78144524ac5..7cfdbbbf703 100644 --- a/compiler/rustc_smir/src/rustc_internal/internal.rs +++ b/compiler/rustc_smir/src/rustc_internal/internal.rs @@ -54,7 +54,7 @@ fn ty_const<'tcx>(constant: &Const, tables: &mut Tables<'tcx>) -> rustc_ty::Cons match constant.internal(tables) { rustc_middle::mir::Const::Ty(c) => c, cnst => { - panic!("Trying to covert constant `{constant:?}` to type constant, but found {cnst:?}") + panic!("Trying to convert constant `{constant:?}` to type constant, but found {cnst:?}") } } } |
