rust/clippy_lints
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
..
src Auto merge of #6284 - camsteffen:rustc-sym, r=flip1995 2020-11-04 09:22:54 +00:00
Cargo.toml Revert changes to Cargo.toml file 2020-10-26 00:53:51 +01:00
README.md

This crate contains Clippy lints. For the main crate, check GitHub.