about summary refs log tree commit diff
path: root/src/test/ui/thinlto
diff options
context:
space:
mode:
authorNicholas Nethercote <nnethercote@mozilla.com>2019-05-14 13:47:01 +1000
committerNicholas Nethercote <nnethercote@mozilla.com>2019-05-20 09:16:26 +1000
commitb96be5b1889a28d0d44b54a18c8d0467da109656 (patch)
treebcad83a43ffe47f7168aa9d343d18ceedda972f3 /src/test/ui/thinlto
parent6afcb5628523b0baae5704ad34ac1aba8ba10de6 (diff)
downloadrust-b96be5b1889a28d0d44b54a18c8d0467da109656.tar.gz
rust-b96be5b1889a28d0d44b54a18c8d0467da109656.zip
Avoid `as_str()` in `ParamTy::is_self`.
It's a hot function, and a direct `Symbol` comparison is faster.

The patch also converts some `&InternedString`s to `InternedString`.
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions