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.
2 parents e25abba + bd6fb36 commit 78c2bdcCopy full SHA for 78c2bdc
crates/hir-ty/src/mir/eval/shim.rs
@@ -27,6 +27,7 @@ macro_rules! from_bytes {
27
($ty:tt, $value:expr) => {
28
($ty::from_le_bytes(match ($value).try_into() {
29
Ok(it) => it,
30
+ #[allow(unreachable_patterns)]
31
Err(_) => return Err(MirEvalError::InternalError("mismatched size".into())),
32
}))
33
};
crates/hir-ty/src/mir/lower.rs
@@ -1161,6 +1161,7 @@ impl<'ctx> MirLowerCtx<'ctx> {
1161
ProjectionElem::OpaqueCast(it) => {
1162
ProjectionElem::OpaqueCast(it)
1163
}
1164
1165
ProjectionElem::Index(it) => match it {},
1166
})
1167
.collect(),
rust-version
@@ -1 +1 @@
1
-1b51d80027919563004918eaadfa0d890ac0eb93
+80eb5a8e910e5185d47cdefe3732d839c78a5e7e
0 commit comments