We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e66b7e commit fc0f5cbCopy full SHA for fc0f5cb
c2rust-refactor/src/transform/casts/tests.rs
@@ -38,7 +38,7 @@ fn ty_bit_width(ty: SimpleTy, pw: PointerWidth) -> u32 {
38
SimpleTy::Size(_) | SimpleTy::Pointer => pw.0.try_into().expect("failed to cast"),
39
SimpleTy::Float32 => 32,
40
SimpleTy::Float64 => 64,
41
- SimpleTy::Other => unreachable!(), // FIXME
+ SimpleTy::Ref | SimpleTy::Array | SimpleTy::Other => unreachable!(), // FIXME
42
}
43
44
0 commit comments