Remove the trivial constkind imports

This commit is contained in:
Michael Goulet 2024-11-03 21:36:21 +00:00
parent 43c78051ea
commit 8e6af16192
5 changed files with 23 additions and 27 deletions

View file

@ -568,7 +568,7 @@ impl<'tcx> Printer<'tcx> for SymbolMangler<'tcx> {
// We may still encounter unevaluated consts due to the printing
// logic sometimes passing identity-substituted impl headers.
ty::Unevaluated(ty::UnevaluatedConst { def, args, .. }) => {
ty::ConstKind::Unevaluated(ty::UnevaluatedConst { def, args, .. }) => {
return self.print_def_path(def, args);
}