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 8e84aa9 commit 8c0edcaCopy full SHA for 8c0edca
compiler/rustc_hir/src/hir.rs
@@ -3242,6 +3242,7 @@ impl<'hir> Node<'hir> {
3242
| Node::Item(Item { kind: ItemKind::Impl(Impl { constness, .. }), .. }) => *constness,
3243
3244
Node::Item(Item { kind: ItemKind::Const(..), .. })
3245
+ | Node::Item(Item { kind: ItemKind::Static(..), .. })
3246
| Node::TraitItem(TraitItem { kind: TraitItemKind::Const(..), .. })
3247
| Node::ImplItem(ImplItem { kind: ImplItemKind::Const(..), .. }) => Constness::Const,
3248
0 commit comments