We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
expand_weak_alias_tys
1 parent 7c4ac06 commit 35a5be2Copy full SHA for 35a5be2
compiler/rustc_middle/src/ty/util.rs
@@ -1130,7 +1130,7 @@ impl<'tcx> TypeFolder<TyCtxt<'tcx>> for WeakAliasTypeExpander<'tcx> {
1130
}
1131
1132
fn fold_const(&mut self, ct: ty::Const<'tcx>) -> ty::Const<'tcx> {
1133
- if !ct.ty().has_type_flags(ty::TypeFlags::HAS_TY_WEAK) {
+ if !ct.has_type_flags(ty::TypeFlags::HAS_TY_WEAK) {
1134
return ct;
1135
1136
ct.super_fold_with(self)
0 commit comments