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
..
2020-10-28 23:35:11 +01:00
2020-10-28 22:34:45 +01:00
2020-11-03 16:44:23 +01:00
2020-11-03 16:44:23 +01:00
2020-10-27 01:57:04 +01:00
2020-10-27 01:57:04 +01:00
2020-10-27 01:57:04 +01:00
2020-10-26 11:15:01 +01:00
2020-10-25 17:41:30 +08:00
2020-10-25 17:41:30 +08:00
2020-10-25 17:41:30 +08:00
2020-10-26 00:01:20 +09:00
2020-10-26 00:01:20 +09:00