fix warning
This commit is contained in:
parent
1809fccb45
commit
8ca0cd56c4
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue