Skip to content

Commit

Permalink
Unrolled build for rust-lang#117741
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#117741 - eltociear:patch-23, r=compiler-errors

Fix typo in internal.rs

covert -> convert
  • Loading branch information
rust-timer authored Nov 10, 2023
2 parents 0f44eb3 + b864821 commit 22e6147
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_smir/src/rustc_internal/internal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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:?}")
}
}
}
Expand Down

0 comments on commit 22e6147

Please sign in to comment.