diff options
| author | Quinn Sinclair <me@m-rph.dev> | 2024-03-31 17:53:13 +0200 |
|---|---|---|
| committer | Quinn Sinclair <me@m-rph.dev> | 2024-04-01 13:40:36 +0200 |
| commit | eee4db928fa745fba934e008be01765c22abb4de (patch) | |
| tree | 4283737a9db02788180ac2a293896e9b90582853 /tests/rustdoc-js-std/parser-errors.js | |
| parent | 124e68bef8be61aa151ff33bea325c832728146f (diff) | |
| download | rust-eee4db928fa745fba934e008be01765c22abb4de.tar.gz rust-eee4db928fa745fba934e008be01765c22abb4de.zip | |
Replace elided variable in `let_unit` with `()` when used
Situation: `let_unit` lints when an expression binds a unit (`()`) to a variable. In some cases this binding may be passed down to another function. Currently, the lint removes the binding without considering usage. Change: All usages of the elided variable are now replaced with `()`. fixes: #12594
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions
