diff options
| author | Jason Newcomb <jsnewcomb@pm.me> | 2025-05-19 21:07:29 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-19 21:07:29 +0000 |
| commit | b87e90b28f474c64a753e65b81a973f7b1a15d52 (patch) | |
| tree | f7281b74426fc9122b22a2acab75ad62f661bde5 /tests/rustdoc-js-std/parser-weird-queries.js | |
| parent | d4e7e5ba3155ea04837636a70a65b65767b818e1 (diff) | |
| parent | e16801e68c8d3fef6edcbeabd60cd535754ec017 (diff) | |
| download | rust-b87e90b28f474c64a753e65b81a973f7b1a15d52.tar.gz rust-b87e90b28f474c64a753e65b81a973f7b1a15d52.zip | |
Use interned symbols instead of strings in more places (#14840)
This patch series makes heavy use of interned symbols when matching against known method names: - the first commit reorders the current list of symbols in `clippy_utils::sym` - the second commit adds symbol reordering and order checking to `clippy dev fmt` / `clippy dev fmt --check` - the third commit converts many uses of string matching during linting to symbols matching The symbols are kept as-is (not rendered as strings) as much as possible to avoid needing locking the interner as much as possible. Static strings have been kept when they are only used when emitting a diagnostic, as there is no benefit in using interned strings for de-interning them right after. changelog: none r? @Alexendoo
Diffstat (limited to 'tests/rustdoc-js-std/parser-weird-queries.js')
0 files changed, 0 insertions, 0 deletions
