mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 22:56:11 +03:00
7f2a2c1e40
**Description:** - Copy `AssignmentTarget` from `oxc`. - Use `BindingIdentifier` in more places. **Related issue:** - Closes #8026
8 lines
144 B
YAML
8 lines
144 B
YAML
language: rust
|
|
id: pat-with-into
|
|
rule:
|
|
all:
|
|
- kind: call_expression
|
|
- pattern: "Pat::$NAME($EXPR).into()"
|
|
fix: $EXPR.into()
|