about summary refs log tree commit diff
path: root/clippy_lints/src/format.rs
AgeCommit message (Collapse)AuthorLines
2020-01-13Rustup to rust-lang/rust#68045Yuki Okushi-1/+1
2020-01-11Rustup to rust-lang/rust#67806Yuki Okushi-3/+2
2020-01-07Normalize lint messagesYuki Okushi-2/+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
Specifically caused by https://github.com/rust-lang/rust/pull/67786
2019-12-27Rustup to rust-lang/rust#66936Yuki Okushi-5/+9
2019-12-04Rustup to rust-lang/rust#66878Matthias Krüger-1/+2
2019-11-27Add BorrowKind::RefManish Goregaokar-6/+6
2019-11-25Rustup to rust-lang/rust#66671flip1995-6/+6
2019-10-10Use match_function_call wherever possibleMatthias Seiffert-15/+7
2019-09-27Rustup to rust-lang/rust#64813flip1995-31/+31
2019-09-26Rustup https://github.com/rust-lang/rust/pull/64513Lzu Tao-1/+1
2019-09-25arm.pats -> arm.patManish Goregaokar-2/+1
2019-08-23Re-add false positive checkLzu Tao-1/+9
2019-08-23Add raw string regression test for useless_format lintLzu Tao-13/+4
2019-08-23Re-factor useless_format lintLzu Tao-92/+101
2019-08-19Remove in_macro_or_desugarKRAAI, MATTHEW [VISUS]-3/+2
2019-08-02Doctests: Fix all complexity lint docsPhilipp Hansch-2/+3
cc #4319
2019-06-12Remove wrong lifetime from LintContextLzu Tao-1/+1
2019-05-21Rustup to rustc 1.36.0-nightly (dbfe70dfc 2019-05-22)Manish Goregaokar-1/+1
2019-05-17Prevent symbocalypseOliver Scherer-11/+10
2019-05-14Rustfmt all the thingsOliver Scherer-2/+2
2019-05-14Use symbols instead of stringsOliver Scherer-12/+13
2019-05-11Rename in_macro to in_macro_or_desugarManish Goregaokar-2/+3
2019-04-17Use lint pass macrosMatthew Kraai-14/+3
Fixes #3917.
2019-04-17Use {get,match}_def_path from LateContextflip1995-6/+4
2019-04-13fix format does not parse escaped braces errorrchaser53-1/+3
2019-03-08Refactor: Remove utils::opt_def_idPhilipp Hansch-4/+4
This removes some indirection. Probably this method was uplifted to rustc at some point?
2019-03-05move lint documentation into macro invocationsAndy Russell-16/+16
2019-02-24Fix `useless_format` suggestionsMichael Wright-17/+23
2019-01-27rustup https://github.com/rust-lang/rust/pull/57907/Matthias Krüger-2/+2
for file in `fd \.rs$` ; do sed -i s/span_suggestion_with_applicability/span_suggestion/g $file ; done for file in `fd \.rs$` ; do sed -i s/span_suggestion_short_with_applicability/span_suggestion_short/g $file ; done for file in `fd \.rs$` ; do sed -i s/span_suggestions_with_applicability/span_suggestions/g $file ; done
2019-01-27rustup https://github.com/rust-lang/rust/pull/57726Matthias Krüger-0/+4
2019-01-19Catch up with `format_args` changeShotaro Yamada-3/+8
Catches up with a change in rust-lang/rust#57537 Happened to fix a bug in `expect_fun_call`, that is the lint ignores more than one arguments to `format`.
2019-01-08Remove all copyright license headersPhilipp Hansch-9/+0
Discussion previously happened in https://github.com/rust-lang/rust/pull/43498
2018-12-29Remove crate:: prefixes from crate pathsKonrad Borowski-6/+6
This is somewhat misleading, as those are actually external crates, and don't need a crate:: prefix.
2018-11-27Run rustfmt on clippy_lintsflip1995-16/+20
2018-11-14Fix "too" -> "foo" typo in format.rsAnton-1/+1
2018-10-06Add license header to Rust filesManish Goregaokar-0/+10
2018-10-04resolve build warnings in clippy_lints/src/format.rsMatthias Krüger-2/+1
2018-10-03Don't suggest `to_string().to_string` in USELESS_FORMATmcarton-6/+18
2018-10-02Ignore `format!` with precision in `USELESS_FORMAT`mcarton-4/+6
2018-09-20Fill in Applicability from review comments by @flip1995Vitaly _Vi Shukela-2/+2
2018-09-20Fix indentsVitaly _Vi Shukela-10/+10
2018-09-20Use span_suggestion_with_applicability instead of span_suggestionVitaly _Vi Shukela-2/+13
2018-09-15Reintroduce `extern crate` for non-Cargo dependencies.Eduard-Mihai Burtescu-6/+6
2018-08-29Switch to declare_tool_lint macroflip1995-1/+1
2018-08-28Update imports and rustupOliver Schneider-1/+1
2018-08-22rustup, fix breakage introduced by https://github.com/rust-lang/rust/pull/53581Matthias Krüger-1/+1
2018-07-23RustupOliver Schneider-1/+1
2018-07-20Remove import of if_chainManish Goregaokar-0/+1