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 3d81af8 commit db989fcCopy full SHA for db989fc
tests/ui/codegen/maximal-hir-to-mir-coverage-flag.rs
@@ -1,10 +1,12 @@
1
+//! Test that -Z maximal-hir-to-mir-coverage flag is accepted.
2
+//!
3
+//! Original PR: https://github.com/rust-lang/rust/pull/105286
4
+
5
//@ compile-flags: -Zmaximal-hir-to-mir-coverage
6
//@ run-pass
7
-// Just making sure this flag is accepted and doesn't crash the compiler
-
8
fn main() {
- let x = 1;
- let y = x + 1;
9
- println!("{y}");
+ let x = 1;
10
+ let y = x + 1;
11
+ println!("{y}");
12
}
0 commit comments