diff options
| author | bors <bors@rust-lang.org> | 2022-11-18 16:56:12 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-11-18 16:56:12 +0000 |
| commit | bc01b2e1f48e72eb59a870b2d4fc0a9c56a760e3 (patch) | |
| tree | fe4d426bed655081739af4a8a2dc42c520ce3273 /clippy_lints/src/unnested_or_patterns.rs | |
| parent | f7535e771d26715177c2f20a3a727e8727a9b073 (diff) | |
| parent | 333b92c5ed7c4a6849bcf72d0b026de64fde8df9 (diff) | |
Auto merge of #101562 - nnethercote:shrink-ast-Expr-harder, r=petrochenkov
Shrink `ast::Expr` harder r? `@ghost`
Diffstat (limited to 'clippy_lints/src/unnested_or_patterns.rs')
| -rw-r--r-- | clippy_lints/src/unnested_or_patterns.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/unnested_or_patterns.rs b/clippy_lints/src/unnested_or_patterns.rs index b305dae7608..bb6fb38e969 100644 --- a/clippy_lints/src/unnested_or_patterns.rs +++ b/clippy_lints/src/unnested_or_patterns.rs @@ -292,7 +292,7 @@ fn transform_with_focus_on_idx(alternatives: &mut Vec<P<Pat>>, focus_idx: usize) /// So when we fixate on some `ident_k: pat_k`, we try to find `ident_k` in the other pattern /// and check that all `fp_i` where `i ∈ ((0...n) \ k)` between two patterns are equal. fn extend_with_struct_pat( - qself1: &Option<ast::QSelf>, + qself1: &Option<P<ast::QSelf>>, path1: &ast::Path, fps1: &mut [ast::PatField], rest1: bool, |
