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 721ffd1 commit 1761d88Copy full SHA for 1761d88
compiler/rustc_hir/src/hir.rs
@@ -3246,6 +3246,7 @@ impl<'hir> Node<'hir> {
3246
| Node::Item(Item { kind: ItemKind::Impl(Impl { constness, .. }), .. }) => *constness,
3247
3248
Node::Item(Item { kind: ItemKind::Const(..), .. })
3249
+ | Node::Item(Item { kind: ItemKind::Static(..), .. })
3250
| Node::TraitItem(TraitItem { kind: TraitItemKind::Const(..), .. })
3251
| Node::ImplItem(ImplItem { kind: ImplItemKind::Const(..), .. }) => Constness::Const,
3252
0 commit comments