about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-errors.js
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2025-08-27 20:32:16 +0000
committerGitHub <noreply@github.com>2025-08-27 20:32:16 +0000
commit0afd6a6bb5830cb2e0af3c7c914b2a11d10e5827 (patch)
tree566bcb7639fd32a9424b02f41887354fbf72b454 /tests/rustdoc-js-std/parser-errors.js
parent9121dcc61ea9d9bebaf582184c43817105c10a3f (diff)
parent991021785eae51e4687b368047e50955ee4adab4 (diff)
downloadrust-0afd6a6bb5830cb2e0af3c7c914b2a11d10e5827.tar.gz
rust-0afd6a6bb5830cb2e0af3c7c914b2a11d10e5827.zip
fix: `collapsible_match` suggests ref/derefs when needed (#14221)
Fixes: #14155

If an expression is borrowed/dereferenced, suggest using `.as_ref()` or
`.copied()` respectively in the outer conditional statement.

changelog: [`collapsible_match`] suggests ref/dereferencing when needed.
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions