mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-26 20:09:19 +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();
|
let resolver = self.resolver.clone();
|
||||||
self.infer_path_expr(&resolver, &path, pat.into()).unwrap_or(Ty::Unknown)
|
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 {
|
let mode = if mode == &BindingAnnotation::Unannotated {
|
||||||
default_bm
|
default_bm
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue