From e30cd18fcc8905d5c726b371cb6c1c4e081bc5f2 Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Thu, 2 Feb 2023 10:22:44 +1100 Subject: [PATCH] Reinstate the `hir-stats.rs` tests on stage 1. --- tests/ui/stats/hir-stats.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/ui/stats/hir-stats.rs b/tests/ui/stats/hir-stats.rs index 0b89d0b160b3d..9bb87026b6418 100644 --- a/tests/ui/stats/hir-stats.rs +++ b/tests/ui/stats/hir-stats.rs @@ -1,7 +1,11 @@ // check-pass // compile-flags: -Zhir-stats // only-x86_64 -// ignore-stage1 FIXME: remove after next bootstrap bump + +// Type layouts sometimes change. When that happens, until the next bootstrap +// bump occurs, stage1 and stage2 will give different outputs for this test. +// Add an `ignore-stage1` comment marker to work around that problem during +// that time. // The aim here is to include at least one of every different type of top-level // AST/HIR node reported by `-Zhir-stats`.