diff options
| author | Kivooeo <Kivooeo123@gmail.com> | 2025-06-28 22:59:17 +0500 |
|---|---|---|
| committer | Kivooeo <Kivooeo123@gmail.com> | 2025-06-30 12:45:47 +0500 |
| commit | c240566561b1b819e102618dcf9347b1745f3c92 (patch) | |
| tree | 039f041734cae211d5c87467fc4b7f5c27ad6c6a /tests/ui/codegen/maximal-hir-to-mir-coverage-flag.rs | |
| parent | 3d81af8c55cd422910c4560f6cdc03722f4530c7 (diff) | |
| download | rust-c240566561b1b819e102618dcf9347b1745f3c92.tar.gz rust-c240566561b1b819e102618dcf9347b1745f3c92.zip | |
cleaned up some tests
Diffstat (limited to 'tests/ui/codegen/maximal-hir-to-mir-coverage-flag.rs')
| -rw-r--r-- | tests/ui/codegen/maximal-hir-to-mir-coverage-flag.rs | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/tests/ui/codegen/maximal-hir-to-mir-coverage-flag.rs b/tests/ui/codegen/maximal-hir-to-mir-coverage-flag.rs index e57c83d007e..64c31beba28 100644 --- a/tests/ui/codegen/maximal-hir-to-mir-coverage-flag.rs +++ b/tests/ui/codegen/maximal-hir-to-mir-coverage-flag.rs @@ -1,10 +1,12 @@ +//! Test that -Z maximal-hir-to-mir-coverage flag is accepted. +//! +//! Original PR: https://github.com/rust-lang/rust/pull/105286 + //@ compile-flags: -Zmaximal-hir-to-mir-coverage //@ run-pass -// Just making sure this flag is accepted and doesn't crash the compiler - fn main() { - let x = 1; - let y = x + 1; - println!("{y}"); + let x = 1; + let y = x + 1; + println!("{y}"); } |
