about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-errors.js
diff options
context:
space:
mode:
authorQuinn Sinclair <me@m-rph.dev>2024-03-31 17:53:13 +0200
committerQuinn Sinclair <me@m-rph.dev>2024-04-01 13:40:36 +0200
commiteee4db928fa745fba934e008be01765c22abb4de (patch)
tree4283737a9db02788180ac2a293896e9b90582853 /tests/rustdoc-js-std/parser-errors.js
parent124e68bef8be61aa151ff33bea325c832728146f (diff)
downloadrust-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