finish a pattern in enum.rs
This commit is contained in:
parent
edba94907d
commit
7ad307dc9d
@ -132,7 +132,7 @@ fn multiple(x: bool, i: u8) {
|
||||
// CHECK-NOT: [[x2]] = const 5
|
||||
// CHECK: [[x2]] = const 0_u8;
|
||||
// CHECK-NOT: [[x2]] = const 5
|
||||
// CHECK: [[some:_.*]] = (({{_.*}} as Some
|
||||
// CHECK: [[some:_.*]] = (({{_.*}} as Some).0: u8)
|
||||
// CHECK: [[x2]] = [[some]];
|
||||
let x2 = match e { Some(i) => i, None => 0 };
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user