Skip to content

Commit 4d77a07

Browse files
committed
Auto merge of #119256 - matthiaskrgr:rollup-q0q5c1d, r=matthiaskrgr
Rollup of 5 pull requests Successful merges: - #119231 (Clairify `ast::PatKind::Struct` presese of `..` by using an enum instead of a bool) - #119232 (Fix doc typos) - #119245 (Improve documentation for using warning blocks in documentation) - #119248 (remove dead inferred outlives testing code) - #119249 (Add spastorino to users_on_vacation) r? `@ghost` `@rustbot` modify labels: rollup
2 parents 991656c + 32bc539 commit 4d77a07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/unnested_or_patterns.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ fn extend_with_struct_pat(
293293
qself1: &Option<P<ast::QSelf>>,
294294
path1: &ast::Path,
295295
fps1: &mut [ast::PatField],
296-
rest1: bool,
296+
rest1: ast::PatFieldsRest,
297297
start: usize,
298298
alternatives: &mut ThinVec<P<Pat>>,
299299
) -> bool {

0 commit comments

Comments
 (0)