mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 22:01:37 +00:00
Bump dependencies
This commit is contained in:
parent
5ecace48f6
commit
b99618c191
4 changed files with 50 additions and 60 deletions
|
@ -11,7 +11,7 @@ use hir_def::{ItemContainerId, Lookup};
|
|||
use hir_expand::name;
|
||||
use itertools::Itertools;
|
||||
use rustc_hash::FxHashSet;
|
||||
use rustc_pattern_analysis::usefulness::{compute_match_usefulness, ValidityConstraint};
|
||||
use rustc_pattern_analysis::usefulness::{compute_match_usefulness, PlaceValidity};
|
||||
use syntax::{ast, AstNode};
|
||||
use tracing::debug;
|
||||
use triomphe::Arc;
|
||||
|
@ -238,7 +238,7 @@ impl ExprValidator {
|
|||
&cx,
|
||||
m_arms.as_slice(),
|
||||
scrut_ty.clone(),
|
||||
ValidityConstraint::ValidOnly,
|
||||
PlaceValidity::ValidOnly,
|
||||
None,
|
||||
) {
|
||||
Ok(report) => report,
|
||||
|
@ -286,7 +286,7 @@ impl ExprValidator {
|
|||
&cx,
|
||||
&[match_arm],
|
||||
ty.clone(),
|
||||
ValidityConstraint::ValidOnly,
|
||||
PlaceValidity::ValidOnly,
|
||||
None,
|
||||
) {
|
||||
Ok(v) => v,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue