mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 13:03:31 +00:00
Convert TODO about ParamList used in closures to a FIXME
cc @matklad (you didn't comment on this one)
This commit is contained in:
parent
8d4c11625a
commit
b22cf23ad1
1 changed files with 1 additions and 2 deletions
|
@ -1784,7 +1784,6 @@ pub(crate) const AST_SRC: AstSrc = AstSrc {
|
||||||
/// [While expression reference](https://doc.rust-lang.org/reference/expressions/loop-expr.html#predicate-loops)
|
/// [While expression reference](https://doc.rust-lang.org/reference/expressions/loop-expr.html#predicate-loops)
|
||||||
struct Condition { T![let], Pat, T![=], Expr }
|
struct Condition { T![let], Pat, T![=], Expr }
|
||||||
|
|
||||||
// TODO: this one is used by closure expressions too, but hey use pipes instead of parens
|
|
||||||
/// Parameter list **declaration**.
|
/// Parameter list **declaration**.
|
||||||
///
|
///
|
||||||
/// ```
|
/// ```
|
||||||
|
@ -1797,7 +1796,7 @@ pub(crate) const AST_SRC: AstSrc = AstSrc {
|
||||||
/// ```
|
/// ```
|
||||||
///
|
///
|
||||||
/// [Reference](https://doc.rust-lang.org/reference/items/functions.html)ocs to codegen script
|
/// [Reference](https://doc.rust-lang.org/reference/items/functions.html)ocs to codegen script
|
||||||
struct ParamList {
|
struct ParamList { // FIXME: this node is used by closure expressions too, but hey use pipes instead of parens...
|
||||||
T!['('],
|
T!['('],
|
||||||
SelfParam,
|
SelfParam,
|
||||||
params: [Param],
|
params: [Param],
|
||||||
|
|
Loading…
Reference in a new issue