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.
1 parent bcc44b8 commit 14a2c8dCopy full SHA for 14a2c8d
src/librustc_metadata/rmeta/decoder.rs
@@ -1123,11 +1123,13 @@ impl<'a, 'tcx> CrateMetadataRef<'a> {
1123
match self.kind(id) {
1124
EntryKind::Const(qualif, _)
1125
| EntryKind::AssocConst(
1126
- AssocContainer::ImplDefault | AssocContainer::ImplFinal,
+ AssocContainer::ImplDefault
1127
+ | AssocContainer::ImplFinal
1128
+ | AssocContainer::TraitWithDefault,
1129
qualif,
1130
_,
1131
) => qualif,
- _ => bug!(),
1132
+ _ => bug!("mir_const_qualif: unexpected kind"),
1133
}
1134
1135
0 commit comments