mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-13 00:56:14 +00:00
2fa78f3a2a
As more and more of the span refiner's functionality has been pulled out into separate early passes, it has finally reached the point where we can remove the rest of the old `SpansRefiner` code, and replace it with a single modestly-sized function.
15 lines
498 B
Plaintext
15 lines
498 B
Plaintext
LL| |//@ edition: 2021
|
|
LL| |
|
|
LL| 1|fn main() {
|
|
LL| | loop {
|
|
LL| 1| if core::hint::black_box(true) {
|
|
LL| 1| break;
|
|
LL| 0| }
|
|
LL| | }
|
|
LL| 1|}
|
|
LL| |
|
|
LL| |// This test is a lightly-modified version of `tests/mir-opt/coverage/instrument_coverage.rs`.
|
|
LL| |// If this test needs to be blessed, then the mir-opt version probably needs to
|
|
LL| |// be blessed too!
|
|
|