]> git.lizzy.rs Git - rust.git/blob - tests/ui/maximal_mir_to_hir_coverage.rs
Rollup merge of #106958 - jyn514:labels, r=m-ou-se
[rust.git] / tests / ui / maximal_mir_to_hir_coverage.rs
1 // compile-flags: -Zmaximal-hir-to-mir-coverage
2 // run-pass
3
4 // Just making sure this flag is accepted and doesn't crash the compiler
5
6 fn main() {
7   let x = 1;
8   let y = x + 1;
9   println!("{y}");
10 }