diff options
| author | bors <bors@rust-lang.org> | 2021-01-08 23:25:57 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-01-08 23:25:57 +0000 |
| commit | 68bcd202fe2fcf2748ce091071ea2242c228248b (patch) | |
| tree | d8a7d3ecd7db043cf94b558c6965bd457c209b20 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 2950c8e1cb32e864b599c4b4dae896d29d86e5e7 (diff) | |
| parent | 7871ebaab9af1fffc3e68bae9f95c9db1e3863e5 (diff) | |
| download | rust-68bcd202fe2fcf2748ce091071ea2242c228248b.tar.gz rust-68bcd202fe2fcf2748ce091071ea2242c228248b.zip | |
Auto merge of #6569 - camsteffen:symbol-comparison, r=Manishearth
Internal lint symbol comparisons changelog: none * Added awareness of `rustc_span::symbol::kw::*` symbols. * Compare with const symbols: `symbol.as_str() == "self"` => `symbol == kw::SelfLower` * Don't compare symbols by string: `a.as_str() == b.as_str()` => `a == b` * Lint comparing with `to_ident_string` or `to_string` instead of `Symbol::as_str`.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
