Rollup merge of #117741 - eltociear:patch-23, r=compiler-errors · rust-lang/rust@7fd7719 (original) (raw)

File tree

1 file changed

lines changed

1 file changed

lines changed

Original file line number Diff line number Diff line change
@@ -54,7 +54,7 @@ fn ty_const<'tcx>(constant: &Const, tables: &mut Tables<'tcx>) -> rustc_ty::Cons
54 54 match constant.internal(tables) {
55 55 rustc_middle::mir::Const::Ty(c) => c,
56 56 cnst => {
57 -panic!("Trying to covert constant `{constant:?}` to type constant, but found {cnst:?}")
57 +panic!("Trying to convert constant `{constant:?}` to type constant, but found {cnst:?}")
58 58 }
59 59 }
60 60 }