about summary refs log tree commit diff
path: root/clippy_lints/src/strings.rs
AgeCommit message (Expand)AuthorLines
2021-04-06Fix all occurences of `needless_borrow` internallyJason Newcomb-7/+7
2021-03-24check for `.to_string().into_bytes()` in string_lit_to_bytesElliot Bobrow-0/+29
2021-03-17Don't re-export clippy_utils::*Cameron Steffen-2/+2
2021-03-15Don't re-export clippy_utils::diagnostics::*Cameron Steffen-4/+2
2021-03-15Move some utils to clippy_utils::source moduleCameron Steffen-1/+1
2021-03-15Move some utils to ty_utilsCameron Steffen-8/+7
2020-12-13Fix dogfood errorsMichael Wright-1/+1
2020-11-29Eat collapsible_match dogfoodCameron Steffen-2/+1
2020-11-25added lints str_to_string and string_to_stringPunitLodha-1/+99
2020-11-07Auto merge of #6134 - patrickelectric:as_utf8, r=llogiqbors-3/+65
2020-11-04Add string_from_utf8_as_bytes linterPatrick José Pereira-3/+65
2020-11-02Use const rustc sym where possibleCameron Steffen-1/+2
2020-10-08Make clippy_lints's doc tests succeedDavid Tolnay-1/+1
2020-10-08Document string_lit_as_bytes known problemsDavid Tolnay-1/+21
2020-10-06Downgrade string_lit_as_bytes to nurseryDavid Tolnay-1/+1
2020-09-17replace `walk_ptrs_ty` with `peel_refs`rail-2/+2
2020-08-17rust_ast::ast => rustc_astUjjwal Sharma-1/+1
2020-07-17Rename TypeckTables to TypeckResults.Valentin Lazureanu-1/+1
2020-07-03Use 'tcx for references to AccessLevels wherever possible.Eduard-Mihai Burtescu-6/+6
2020-06-26rustc_lint: only query `typeck_tables_of` when a lint needs it.Eduard-Mihai Burtescu-1/+1
2020-06-10Update Clippy for MethodCall changesAaron Hill-1/+1
2020-06-09Merge commit 'ff0993c5e9162ddaea78e83d0f0161e68bd4ea73' into clippyLzu Tao-0/+8
2020-04-26More diagnostic itemsPhilipp Hansch-2/+2
2020-03-30rustup https://github.com/rust-lang/rust/pull/70536Matthias Krüger-1/+1
2020-03-01Rustup to rust-lang/rust#69592Yuki Okushi-1/+1
2020-02-21Fix falloutflip1995-1/+1
2020-01-13Rustup to rust-lang/rust#68045Yuki Okushi-1/+2
2020-01-11Rustup to rust-lang/rust#67806Yuki Okushi-3/+2
2020-01-07Rustup to rust-lang/rust#67886Yuki Okushi-1/+1
2020-01-04Rustup to https://github.com/rust-lang/rust/pull/67853Philipp Hansch-1/+1
2019-12-27Rustup to rust-lang/rust#66936Yuki Okushi-4/+4
2019-12-24rustup "Add span information to `ExprKind::Assign`"Lzu Tao-2/+2
2019-12-05Change to only detect in external macros.daxpedda-5/+3
2019-12-04Fix false positive in `string_add`.daxpedda-1/+7
2019-12-04Rustup to rust-lang/rust#66878Matthias Krüger-1/+2
2019-11-26trigger string_lit_as_bytes when literal has escapesAndy Russell-46/+41
2019-11-19use usize::fromlzutao-1/+1
2019-11-19use more efficient code to generate repeated stringLzu Tao-1/+1
2019-09-27Rustup to rust-lang/rust#64813flip1995-6/+6
2019-08-19Remove in_macro_or_desugarKRAAI, MATTHEW [VISUS]-2/+2
2019-08-03Doctests: Enable running doc tests for restriction lintsPhilipp Hansch-1/+1
2019-07-08Extract semantic constantThiago Arrais-1/+4
2019-07-08Avoid reporting string_lit_as_bytes for long stringsJens Hausdorf-0/+1
2019-05-17Prevent symbocalypseOliver Scherer-3/+2
2019-05-14Rustfmt all the thingsOliver Scherer-1/+1
2019-05-14Use symbols instead of stringsOliver Scherer-2/+3
2019-05-11Rename in_macro to in_macro_or_desugarManish Goregaokar-2/+2
2019-04-17Use lint pass macrosMatthew Kraai-25/+3
2019-03-10Various cosmetic improvements.Alexander Regueiro-4/+5
2019-03-05move lint documentation into macro invocationsAndy Russell-48/+48