File tree Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ macro_rules! from_bytes {
27
27
( $ty: tt, $value: expr) => {
28
28
( $ty:: from_le_bytes( match ( $value) . try_into( ) {
29
29
Ok ( it) => it,
30
+ #[ allow( unreachable_patterns) ]
30
31
Err ( _) => return Err ( MirEvalError :: InternalError ( "mismatched size" . into( ) ) ) ,
31
32
} ) )
32
33
} ;
Original file line number Diff line number Diff line change @@ -1161,6 +1161,7 @@ impl<'ctx> MirLowerCtx<'ctx> {
1161
1161
ProjectionElem :: OpaqueCast ( it) => {
1162
1162
ProjectionElem :: OpaqueCast ( it)
1163
1163
}
1164
+ #[ allow( unreachable_patterns) ]
1164
1165
ProjectionElem :: Index ( it) => match it { } ,
1165
1166
} )
1166
1167
. collect ( ) ,
Original file line number Diff line number Diff line change 1
- 1b51d80027919563004918eaadfa0d890ac0eb93
1
+ 80eb5a8e910e5185d47cdefe3732d839c78a5e7e
You can’t perform that action at this time.
0 commit comments