Skip to content

Commit 22e6147

Browse files
authored
Unrolled build for rust-lang#117741
Rollup merge of rust-lang#117741 - eltociear:patch-23, r=compiler-errors Fix typo in internal.rs covert -> convert
2 parents 0f44eb3 + b864821 commit 22e6147

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: compiler/rustc_smir/src/rustc_internal/internal.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ fn ty_const<'tcx>(constant: &Const, tables: &mut Tables<'tcx>) -> rustc_ty::Cons
5454
match constant.internal(tables) {
5555
rustc_middle::mir::Const::Ty(c) => c,
5656
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:?}")
5858
}
5959
}
6060
}

0 commit comments

Comments
 (0)