Skip to content

Commit 9259323

Browse files
committed
Update to support 2026-03-01 nightly
1 parent dc41a0f commit 9259323

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

flake.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/mir.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,9 @@ impl<'tcx> AnalysisCtxt<'tcx> {
171171
ty::InstanceKind::Item(did) => {
172172
let def_kind = self.def_kind(did);
173173
match def_kind {
174-
DefKind::Const
174+
DefKind::Const { .. }
175175
| DefKind::Static { .. }
176-
| DefKind::AssocConst
176+
| DefKind::AssocConst { .. }
177177
| DefKind::Ctor(..)
178178
| DefKind::AnonConst
179179
| DefKind::InlineConst => self.mir_for_ctfe(did),

src/monomorphize_collector.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1343,7 +1343,7 @@ impl<'v> RootCollector<'_, 'v> {
13431343
);
13441344
self.output.push(dummy_spanned(MonoItem::Static(def_id)));
13451345
}
1346-
DefKind::Const => {
1346+
DefKind::Const { .. } => {
13471347
// Const items only generate mono items if they are actually used somewhere.
13481348
// Just declaring them is insufficient.
13491349

0 commit comments

Comments
 (0)