rust/clippy_utils/src
Timo 0dd9722cdc
Replace some Symbol::as_str usage (#14679)
Follow up to https://github.com/rust-lang/rust-clippy/pull/14650

Replaces uses in the form `s.as_str() == "literal"`

r? @y21

changelog: none
2025-04-27 12:56:14 +00:00
..
ast_utils Merge remote-tracking branch 'upstream/master' into rustup 2025-04-17 18:36:59 +02:00
mir fix: redundant_clone FP on enum cast (#14395) 2025-03-21 14:23:52 +00:00
ty Expand mutable capture check for is_iter_with_side_effects() 2025-04-22 20:55:07 +08:00
attrs.rs Merge commit '609cd310be' into clippy-subtree-update 2024-12-26 15:15:54 +01:00
check_proc_macro.rs Move hir::Item::ident into hir::ItemKind. 2025-03-18 06:29:50 +11:00
comparisons.rs Merge commit 'd9c24d1b1e' into clippyup 2023-07-17 10:22:32 +02:00
consts.rs Merge remote-tracking branch 'upstream/master' into rustup 2025-04-17 18:36:59 +02:00
diagnostics.rs Apply collapsible_if to Clippy itself 2025-03-27 14:40:44 +01:00
eager_or_lazy.rs Fix clippy 2025-03-06 17:58:32 -03:00
higher.rs Replace some Symbol::as_str usage 2025-04-25 01:03:03 +00:00
hir_utils.rs Merge remote-tracking branch 'upstream/master' into rustup 2025-04-22 15:55:19 +02:00
lib.rs Replace some Symbol::as_str usage (#14679) 2025-04-27 12:56:14 +00:00
macros.rs Move methods from Map to TyCtxt, part 5. 2025-04-02 10:00:46 +11:00
msrvs.rs Replace interning of string literals with preinterned symbols 2025-04-18 22:44:16 +00:00
numeric_literal.rs Merge commit '51d49c1ae2' into clippy-subtree-update 2025-01-28 19:33:54 +01:00
paths.rs Replace interning of string literals with preinterned symbols 2025-04-18 22:44:16 +00:00
ptr.rs Move some Map methods onto TyCtxt. 2025-02-17 13:21:02 +11:00
qualify_min_const_fn.rs Merge commit '1e5237f4a5' into clippy-subtree-update 2025-03-20 22:34:29 +01:00
source.rs Make collapsible_if recognize the let_chains feature (#14481) 2025-03-28 09:17:24 +00:00
str_utils.rs Fix various typos in lint messages, descriptions and comments 2025-03-24 16:04:32 +01:00
sugg.rs Merge remote-tracking branch 'upstream/master' into rustup 2025-04-17 18:36:59 +02:00
sym.rs Replace some Symbol::as_str usage 2025-04-25 01:03:03 +00:00
usage.rs Apply collapsible_if to Clippy itself 2025-03-27 14:40:44 +01:00
visitors.rs Apply collapsible_if to Clippy itself 2025-03-27 14:40:44 +01:00