Skip to content

Commit db989fc

Browse files
committed
formatted docs | maximal_mir_to_hir_coverage.rs
1 parent 3d81af8 commit db989fc

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed
Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
15
//@ compile-flags: -Zmaximal-hir-to-mir-coverage
26
//@ run-pass
37

4-
// Just making sure this flag is accepted and doesn't crash the compiler
5-
68
fn main() {
7-
let x = 1;
8-
let y = x + 1;
9-
println!("{y}");
9+
let x = 1;
10+
let y = x + 1;
11+
println!("{y}");
1012
}

0 commit comments

Comments
 (0)