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 c646c4d commit bef8681Copy full SHA for bef8681
compiler/rustc_metadata/src/rmeta/encoder.rs
@@ -1078,9 +1078,9 @@ fn should_encode_constness(def_kind: DefKind) -> bool {
1078
| DefKind::ImplTraitPlaceholder
1079
| DefKind::Impl
1080
| DefKind::Closure
1081
- | DefKind::Generator => true,
+ | DefKind::Generator
1082
+ | DefKind::TyAlias => true,
1083
DefKind::Variant
- | DefKind::TyAlias
1084
| DefKind::TraitAlias
1085
| DefKind::ForeignTy
1086
| DefKind::Field
0 commit comments