mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 13:03:31 +00:00
clearer ignore
This commit is contained in:
parent
82b218b7bf
commit
da850361ba
1 changed files with 1 additions and 1 deletions
|
@ -817,7 +817,7 @@ impl<'a, D: HirDatabase> InferenceContext<'a, D> {
|
|||
let resolver = self.resolver.clone();
|
||||
self.infer_path_expr(&resolver, &path, pat.into()).unwrap_or(Ty::Unknown)
|
||||
}
|
||||
Pat::Bind { mode, name: _name, subpat } => {
|
||||
Pat::Bind { mode, name: _, subpat } => {
|
||||
let mode = if mode == &BindingAnnotation::Unannotated {
|
||||
default_bm
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue