Appease rust-analyzer
For some reason it doesn't figure out the slice coercion.
This commit is contained in:
parent
b6e4299415
commit
5d31e29b56
@ -701,7 +701,7 @@ pub(crate) fn place_into_pattern(
|
||||
self.bind_pattern(
|
||||
self.source_info(irrefutable_pat.span),
|
||||
candidate,
|
||||
&fake_borrow_temps,
|
||||
fake_borrow_temps.as_slice(),
|
||||
irrefutable_pat.span,
|
||||
None,
|
||||
false,
|
||||
@ -1981,7 +1981,7 @@ pub(crate) fn lower_let_expr(
|
||||
let post_guard_block = self.bind_pattern(
|
||||
self.source_info(pat.span),
|
||||
guard_candidate,
|
||||
&fake_borrow_temps,
|
||||
fake_borrow_temps.as_slice(),
|
||||
expr_span,
|
||||
None,
|
||||
false,
|
||||
@ -2468,7 +2468,7 @@ pub(crate) fn ast_let_else(
|
||||
let matching = this.bind_pattern(
|
||||
this.source_info(pattern.span),
|
||||
candidate,
|
||||
&fake_borrow_temps,
|
||||
fake_borrow_temps.as_slice(),
|
||||
initializer_span,
|
||||
None,
|
||||
true,
|
||||
@ -2477,7 +2477,7 @@ pub(crate) fn ast_let_else(
|
||||
let failure = this.bind_pattern(
|
||||
this.source_info(else_block_span),
|
||||
wildcard,
|
||||
&fake_borrow_temps,
|
||||
fake_borrow_temps.as_slice(),
|
||||
initializer_span,
|
||||
None,
|
||||
true,
|
||||
|
Loading…
Reference in New Issue
Block a user