Yuri Astrakhan
f7d5d9d892
Convert &Option<T> to Option<&T>
2024-09-28 19:51:02 -04:00
Philipp Krones
3ab1da8bab
Formatting
2024-09-22 20:52:15 +02:00
Philipp Krones
4e6851e50b
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
Oli Scherer
221ac86e09
Always pass the visitor as the first argument to walk* functions
2024-07-22 14:01:24 +00:00
Oli Scherer
3149037b57
Sync mut_visit function names with immut visit ones (s/noop_visit/walk/)
2024-07-22 14:01:24 +00:00
Jules Bertholet
876d5f00a0
Rename BindingAnnotation to BindingMode
2024-04-17 09:34:39 -04:00
Philipp Krones
0ae4a048c6
Merge commit ' 9725c4a162' into clippy-subtree-update
2024-04-04 19:52:55 +02:00
Michael Goulet
bc0965e2ff
Implement macro-based deref!() syntax for deref patterns
...
Stop using `box PAT` syntax for deref patterns, as it's misleading and
also causes their semantics being tangled up.
2024-03-21 11:42:49 -04:00
Lieselotte
33e1e6f783
Add PatKind::Err
2024-01-17 03:14:16 +01:00
Alona Enraght-Moony
d72771ffeb
bool->enum for ast::PatKind::Struct presence of ..
...
See cee794ee98/compiler/rustc_parse/src/parser/pat.rs (L890-L897) for the only place this is constructed.
2023-12-23 02:50:31 +00:00
Philipp Krones
c9a43b18f1
Merge commit ' f0cdee4a3f' into clippy-subtree-sync
2023-12-01 18:21:58 +01:00
Nadrieril
02e50f03bf
Add never_patterns feature gate
2023-11-29 03:58:29 +01:00
Philipp Krones
77c1e3aaa1
Merge commit ' 09ac14c901' into clippyup
2023-11-02 17:35:56 +01:00
Matthew Jasper
ab08a3d7b2
Update tools and fulldeps tests
2023-09-11 15:51:19 +00:00
Philipp Krones
d6d530fd0b
Merge commit ' d9c24d1b1e' into clippyup
2023-07-17 10:22:32 +02:00
Jason Newcomb
0413fb35ba
Merge commit ' 149392b0ba' into clippyup
2023-02-25 19:28:50 -05:00
Nicholas Nethercote
71b8646854
Use ThinVec in various AST types.
...
This commit changes the sequence parsers to produce `ThinVec`, which
triggers numerous conversions.
2023-02-21 11:51:56 +11:00
Philipp Krones
d05e2865a0
Merge commit ' d822110d3b' into clippyup
2022-12-01 18:29:38 +01:00
Nicholas Nethercote
333b92c5ed
Box ExprKind::{Closure,MethodCall}, and QSelf in expressions, types, and patterns.
2022-11-17 13:45:59 +11:00
flip1995
cd0bb7de01
Merge commit ' 4f142aa105' into clippyup
2022-10-23 15:18:45 +02:00
Cameron Steffen
e5f30f4dfa
clippy: BindingAnnotation change
2022-09-02 13:03:11 -05:00
xFrednet
4587b6628d
Merge 'rust-clippy/master' into clippyup
2022-05-21 13:24:00 +02:00
flip1995
7cd86aa1be
Merge commit ' 7c21f91b15' into clippyup
2022-05-05 15:12:52 +01:00
flip1995
bf66aeda0a
Merge commit ' a98e7ab8b9' into clippyup
2022-01-27 15:12:45 +01:00
flip1995
8fea1d94f3
Merge commit ' a5d597637d' into clippyup
2021-12-06 12:33:31 +01:00
Caio
b97d4c062b
Introduce hir::ExprKind::Let - Take 2
2021-08-15 16:18:26 -03:00
flip1995
1ad5464200
Merge commit ' 7bfc26ec8e' into clippyup
2021-08-12 11:16:25 +02:00
flip1995
2b20f49841
Merge commit ' 0cce3f643b' into clippyup
2021-07-29 12:16:06 +02:00
flip1995
ebe52869a3
Merge commit ' 61eb38aeda' into clippyup
2021-07-01 18:17:38 +02:00
Ryan Levick
611b74e1fe
Add support for using qualified paths with structs in expression and pattern
...
position.
2021-06-10 13:18:41 +02:00
flip1995
ae72f1adb9
Merge commit ' 7c7683c8ef' into clippyup
2021-04-27 16:55:11 +02:00
flip1995
f6d1f368db
Merge commit ' b40ea209e7' into clippyup
2021-04-08 17:50:13 +02:00
flip1995
9f6b5de7de
Merge commit ' 0e87918536' into clippyup
2021-03-25 19:29:11 +01:00
mark
d2f0b27f0a
clippy: stabilize or_patterns lint
2021-03-19 19:45:42 -05:00
Vadim Petrochenkov
35e8be7407
ast/hir: Rename field-related structures
...
StructField -> FieldDef ("field definition")
Field -> ExprField ("expression field", not "field expression")
FieldPat -> PatField ("pattern field", not "field pattern")
Also rename visiting and other methods working on them.
2021-03-16 11:41:24 +03:00
flip1995
282c59820b
Merge commit ' 3d0b0e66af' into clippyup
2020-08-28 18:43:25 +02:00
Aaron Hill
191b0806d2
Capture tokens for Pat used in macro_rules! argument
...
This extends PR #73293 to handle patterns (Pat). Unlike expressions,
patterns do not support custom attributes, so we only need to capture
tokens during macro_rules! argument parsing.
2020-08-20 02:45:28 -04:00
Ujjwal Sharma
ae0eb390b0
rust_ast::ast => rustc_ast
2020-08-17 20:32:32 +00:00
flip1995
6f25adbd5a
Merge commit ' 2ca58e7dda' into clippyup
2020-07-14 14:59:59 +02:00
flip1995
80bcbf521c
Merge commit ' c2c07fa9d0' into clippyup
2020-06-23 17:05:22 +02:00
Lzu Tao
8db24840f7
Merge commit ' ff0993c5e9' into clippy
2020-06-09 14:36:01 +00:00