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 9c11929 commit 7039b78Copy full SHA for 7039b78
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