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.
2 parents 652242b + 6d21423 commit b685013Copy full SHA for b685013
src/bin/miri.rs
@@ -242,7 +242,7 @@ impl rustc_driver::Callbacks for MiriBeRustCompilerCalls {
242
let is_reachable_non_generic = matches!(
243
tcx.hir_node_by_def_id(local_def_id),
244
Node::Item(&hir::Item {
245
- kind: hir::ItemKind::Static(..) | hir::ItemKind::Fn(..),
+ kind: hir::ItemKind::Static(..) | hir::ItemKind::Fn{ .. },
246
..
247
}) | Node::ImplItem(&hir::ImplItem {
248
kind: hir::ImplItemKind::Fn(..),
0 commit comments