rust/clippy_lints/src/methods
bors c2cf40cdcd Auto merge of #6284 - camsteffen:rustc-sym, r=flip1995
Use const sym where possible

I ran a regex search and replace to use const `sym` values where possible. This should give some performance boost by avoiding string interning at runtime.

Con: It is not as consistent as always using `sym!`.

I also changed an internal lint to suggest using `sym::{}`, making an assumption that this will always work for diagnostic items.

changelog: none
2020-11-04 09:22:54 +00:00
..
bind_instead_of_map.rs Merge commit 'e636b88aa180e8cab9e28802aac90adbc984234d' into clippyup 2020-09-24 14:49:22 +02:00
inefficient_to_string.rs Use const rustc sym where possible 2020-11-02 11:46:37 -06:00
manual_saturating_arithmetic.rs Rename TypeckTables to TypeckResults. 2020-07-17 08:47:04 +00:00
mod.rs Auto merge of #6284 - camsteffen:rustc-sym, r=flip1995 2020-11-04 09:22:54 +00:00
option_map_unwrap_or.rs Use const rustc sym where possible 2020-11-02 11:46:37 -06:00
unnecessary_filter_map.rs Merge commit '2ca58e7dda4a9eb142599638c59dc04d15961175' into clippyup 2020-07-14 14:59:59 +02:00
unnecessary_lazy_eval.rs Use const rustc sym where possible 2020-11-02 11:46:37 -06:00