summary refs log tree commit diff
path: root/src/test/mir-opt/instrument_coverage.bar.InstrumentCoverage.diff
blob: 5b2572655ccb6214c636d16112a5c7a5f40d18d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
- // MIR for `bar` before InstrumentCoverage
+ // MIR for `bar` after InstrumentCoverage
  
  fn bar() -> bool {
      let mut _0: bool;                    // return place in scope 0 at /the/src/instrument_coverage.rs:19:13: 19:17
  
      bb0: {
          _0 = const true;                 // scope 0 at /the/src/instrument_coverage.rs:20:5: 20:9
+         Coverage::Counter(0) for /the/src/instrument_coverage.rs:19:18 - 21:2; // scope 0 at /the/src/instrument_coverage.rs:21:2: 21:2
          return;                          // scope 0 at /the/src/instrument_coverage.rs:21:2: 21:2
      }
  }