about summary refs log tree commit diff
path: root/tests/mir-opt/coverage/instrument_coverage.bar.InstrumentCoverage.diff
blob: 2efb1fd0a17a3c6dfc6bee8ca7c9483c38ebd0bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
- // MIR for `bar` before InstrumentCoverage
+ // MIR for `bar` after InstrumentCoverage
  
  fn bar() -> bool {
      let mut _0: bool;
  
+     coverage body span: $DIR/instrument_coverage.rs:19:18: 21:2 (#0)
+     coverage Code(Counter(0)) => 19:1 - 21:2;
+ 
      bb0: {
+         Coverage::CounterIncrement(0);
          _0 = const true;
          return;
      }
  }