]> git.lizzy.rs Git - rust.git/blob - src/test/mir-opt/multiple_return_terminators.test.MultipleReturnTerminators.diff
Add #[const_trait] where needed in tests.
[rust.git] / src / test / mir-opt / multiple_return_terminators.test.MultipleReturnTerminators.diff
1 - // MIR for `test` before MultipleReturnTerminators
2 + // MIR for `test` after MultipleReturnTerminators
3   
4   fn test(_1: bool) -> () {
5       debug x => _1;                       // in scope 0 at $DIR/multiple_return_terminators.rs:+0:9: +0:10
6       let mut _0: ();                      // return place in scope 0 at $DIR/multiple_return_terminators.rs:+0:18: +0:18
7   
8       bb0: {
9           return;                          // scope 0 at $DIR/multiple_return_terminators.rs:+6:2: +6:2
10       }
11   }
12