Rollup merge of #107577 - nnethercote:reinstate-hir-stats, r=jyn514

Reinstate the `hir-stats.rs` tests on stage 1.

r? ```@the8472```
This commit is contained in:
Matthias Krüger 2023-02-02 17:14:08 +01:00 committed by GitHub
commit 08181eabfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -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`.