fix warning
This commit is contained in:
parent
1809fccb45
commit
8ca0cd56c4
|
@ -437,6 +437,7 @@ impl Visitor {
|
|||
#(#lets)*
|
||||
#make_expr_fn::<#ty>(|#infallible_var| {
|
||||
let #retval_var = #check_literal;
|
||||
#[allow(unreachable_code)]
|
||||
match #retval_var {
|
||||
#variant_or_type { .. } => #retval_var,
|
||||
#[allow(unreachable_patterns)]
|
||||
|
|
Loading…
Reference in a new issue