about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/interface.rs
diff options
context:
space:
mode:
authorklensy <klensy@users.noreply.github.com>2022-04-05 15:52:53 +0300
committerklensy <klensy@users.noreply.github.com>2022-04-08 11:45:57 +0300
commitf2d2ec3e93532feb28a2d5e86632c38d8d75f9a5 (patch)
tree2f9f04d0cfed765e3dbf69ae12b3c740d237c31b /compiler/rustc_interface/src/interface.rs
parent2efede77493df5912800fc358f28277642f56bc9 (diff)
downloadrust-f2d2ec3e93532feb28a2d5e86632c38d8d75f9a5.tar.gz
rust-f2d2ec3e93532feb28a2d5e86632c38d8d75f9a5.zip
check_doc_keyword: don't alloc string for emptiness check
check_doc_alias_value: get argument as Symbol to prevent needless string convertions

check_doc_attrs: don't alloc vec, iterate over slice. Vec introduced in #83149, but no perf run posted on merge

replace as_str() check with symbol check

get_single_str_from_tts: don't prealloc string

trivial string to str replace

LifetimeScopeForPath::NonElided use Vec<Symbol> instead of Vec<String>

AssertModuleSource use BTreeSet<Symbol> instead of BTreeSet<String>

CrateInfo.crate_name replace FxHashMap<CrateNum, String> with FxHashMap<CrateNum, Symbol>
Diffstat (limited to 'compiler/rustc_interface/src/interface.rs')
0 files changed, 0 insertions, 0 deletions