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 28e814a commit 63ea13aCopy full SHA for 63ea13a
src/bin/miri-rustc-tests.rs
@@ -46,7 +46,7 @@ impl rustc_driver::Callbacks for MiriCompilerCalls {
46
struct Visitor<'tcx>(TyCtxt<'tcx>);
47
impl<'tcx, 'hir> itemlikevisit::ItemLikeVisitor<'hir> for Visitor<'tcx> {
48
fn visit_item(&mut self, i: &'hir hir::Item) {
49
- if let hir::ItemKind::Fn(.., body_id) = i.node {
+ if let hir::ItemKind::Fn(.., body_id) = i.kind {
50
if i.attrs.iter().any(|attr| attr.check_name(syntax::symbol::sym::test)) {
51
let config = MiriConfig {
52
validate: true,
0 commit comments