mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 22:01:37 +00:00
Update rustc_pattern_analysis dependency
This commit is contained in:
parent
c2d21242aa
commit
ba7b12e062
4 changed files with 84 additions and 69 deletions
|
@ -207,7 +207,7 @@ impl ExprValidator {
|
|||
}
|
||||
|
||||
let report = match compute_match_usefulness(
|
||||
rustc_pattern_analysis::MatchCtxt { tycx: &cx },
|
||||
&cx,
|
||||
m_arms.as_slice(),
|
||||
scrut_ty.clone(),
|
||||
ValidityConstraint::ValidOnly,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue