about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/osstring-to-string.js
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-11-30 09:28:26 +0100
committerGitHub <noreply@github.com>2023-11-30 09:28:26 +0100
commite31cd931f63079578aad66f8ddb0396468c9c374 (patch)
treecf933be4679ef05e0056c6095341c14c8cb38b4e /tests/rustdoc-js-std/osstring-to-string.js
parent13ded6651346893f9ee28ba8770c8aa1268c593f (diff)
parent32c035c8c8f8581a412dc3251a7e4e90a4fee08e (diff)
downloadrust-e31cd931f63079578aad66f8ddb0396468c9c374.tar.gz
rust-e31cd931f63079578aad66f8ddb0396468c9c374.zip
Rollup merge of #118456 - aDotInTheVoid:unused-symbols, r=WaffleLapkin
rustc_span: Remove unused symbols.

As noted  here, there is no guarantee that all pre-interned symbols are used.

https://github.com/rust-lang/rust/blob/b10cfcd65fd7f7b1ab9beb34798b2108de003452/compiler/rustc_span/src/symbol.rs#L124-L125

This was done starting with using ripgrep to search for `sym::whatever`. I removed anything that didn't show up. However this had a huge number of false positives, due to extensive macro use. Then there was a manual phase of adding back all the ones used my macros.

I don't think this was worth my time to do, but it's done now . ¯\_(ツ)_/¯
Diffstat (limited to 'tests/rustdoc-js-std/osstring-to-string.js')
0 files changed, 0 insertions, 0 deletions