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 {
2727 ( $ty: tt, $value: expr) => {
2828 ( $ty:: from_le_bytes( match ( $value) . try_into( ) {
2929 Ok ( it) => it,
30+ #[ allow( unreachable_patterns) ]
3031 Err ( _) => return Err ( MirEvalError :: InternalError ( "mismatched size" . into( ) ) ) ,
3132 } ) )
3233 } ;
Original file line number Diff line number Diff line change @@ -1161,6 +1161,7 @@ impl<'ctx> MirLowerCtx<'ctx> {
11611161 ProjectionElem :: OpaqueCast ( it) => {
11621162 ProjectionElem :: OpaqueCast ( it)
11631163 }
1164+ #[ allow( unreachable_patterns) ]
11641165 ProjectionElem :: Index ( it) => match it { } ,
11651166 } )
11661167 . 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