()
| 5 | } |
| 6 | |
| 7 | fn ref_into_enum() { |
| 8 | let mut data = EnumDataTest::A(1); |
| 9 | let data_ref: &mut i32; |
| 10 | match &mut data { |
| 11 | EnumDataTest::A(x) => data_ref = x, |
| 12 | EnumDataTest::B(x) => data_ref = x, |
| 13 | } |
| 14 | |
| 15 | *data_ref = 42; |
| 16 | print!("{:?}", data); |
| 17 | } |
nothing calls this directly
no outgoing calls
no test coverage detected