Skip to content

Commit b685013

Browse files
author
The Miri Cronjob Bot
committed
Merge from rustc
2 parents 652242b + 6d21423 commit b685013

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/miri.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ impl rustc_driver::Callbacks for MiriBeRustCompilerCalls {
242242
let is_reachable_non_generic = matches!(
243243
tcx.hir_node_by_def_id(local_def_id),
244244
Node::Item(&hir::Item {
245-
kind: hir::ItemKind::Static(..) | hir::ItemKind::Fn(..),
245+
kind: hir::ItemKind::Static(..) | hir::ItemKind::Fn{ .. },
246246
..
247247
}) | Node::ImplItem(&hir::ImplItem {
248248
kind: hir::ImplItemKind::Fn(..),

0 commit comments

Comments
 (0)