about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/lints.rs
AgeCommit message (Expand)AuthorLines
2023-07-10Uplift `clippy::fn_null_check` to rustcUrgau-0/+6
2023-06-26Migrate predicates_of and caller_bounds to ClauseMichael Goulet-3/+3
2023-06-15Rollup merge of #112529 - jieyouxu:block-expr-unused-must-use, r=oli-obkGuillaume Gomez-11/+42
2023-06-15Rollup merge of #112517 - fee1-dead-contrib:sus-op-no-borrow, r=compiler-errorsGuillaume Gomez-4/+8
2023-06-15Extend `unused_must_use` to cover block exprs许杰友 Jieyou Xu (Joe)-11/+42
2023-06-13do not use stringly typed diagnosticsDeadbeef-4/+8
2023-06-11Add subdiagnostic and suggestion for overflowing bin hex with sign bitsNicky Lim-0/+17
2023-06-10Uplift improved version of `clippy::cmp_nan` to rustcUrgau-0/+30
2023-06-08Uplift clippy::undropped_manually_drops to rustcUrgau-0/+19
2023-05-31Uplift clippy::cast_ref_to_mut to rustcUrgau-0/+5
2023-05-30Rollup merge of #111543 - Urgau:uplift_invalid_utf8_in_unchecked, r=WaffleLapkinNilstrieb-0/+19
2023-05-29Use `Cow` in `{D,Subd}iagnosticMessage`.Nicholas Nethercote-1/+1
2023-05-27Add invalid_from_utf8 analogous to invalid_from_utf8_uncheckedUrgau-6/+15
2023-05-27Uplift clippy::invalid_utf8_in_unchecked as invalid_from_utf8_uncheckedUrgau-0/+10
2023-05-21Rename `forget_ref` lint to `forgetting_references`Urgau-1/+1
2023-05-21Rename `drop_ref` lint to `dropping_references`Urgau-2/+2
2023-05-21Rename `forget_copy` lint to `forgetting_copy_types`Urgau-1/+1
2023-05-21Rename `drop_copy` lint to `dropping_copy_types`Urgau-1/+1
2023-05-10Add note to suggest using `let _ = x` to ignore the valueUrgau-0/+4
2023-05-10Use label instead of note to be more consistent with other lintsUrgau-8/+8
2023-05-10Uplift clippy::forget_copy to rustcUrgau-0/+8
2023-05-10Uplift clippy::forget_ref to rustcUrgau-0/+8
2023-05-10Uplift clippy::drop_copy to rustcUrgau-0/+8
2023-05-10Uplift clippy::drop_ref to rustcUrgau-0/+9
2023-04-28uplift `clippy::clone_double_ref` as `suspicious_double_ref_op`Deadbeef-0/+8
2023-04-25Add deny lint to prevent untranslatable diagnostics using static stringsclubby789-0/+4
2023-04-10Fix typos in compilerDaniPopes-7/+7
2023-03-25Emits suggestions for expressions with parentheses or not separatelyMu001999-6/+27
2023-03-24Use independent suggestionsMu42-3/+4
2023-03-22Move useless_anynous_reexport lint into unused_importsGuillaume Gomez-8/+0
2023-03-19Rollup merge of #109003 - GuillaumeGomez:useless-anonymous-reexport-lint, r=c...Dylan DPC-0/+8
2023-03-15error-msg: expand suggestion for unused lintEzra Shaw-12/+10
2023-03-12Add test for useless_anonymous_reexport lintGuillaume Gomez-0/+1
2023-03-12Add lint for useless anonymous reexportsGuillaume Gomez-0/+7
2023-02-23Add lint against `Iterator::map` receiving a callable that returns `()`Obei Sideg-0/+16
2023-02-22errors: generate typed identifiers in each crateDavid Wood-58/+62
2023-02-18lint: don't suggest assume_init for uninhabited typesy21-2/+11
2023-02-17Don't eagerly convert principal to stringclubby789-3/+2
2023-02-04Fix #103320, add explanatory message for [#must_use]yukang-0/+18
2023-01-28Reintroduce multiple_supertrait_upcastable lintGary Guo-0/+7
2023-01-17Remove double spaces after dots in commentsMaybe Waffle-1/+1
2023-01-09migrate: `deref_into_dyn_supertrait.rs`Rejyr-0/+18
2023-01-09add: allow lints in `lints.rs`Rejyr-0/+2
2023-01-09migrate: rest of `builtin.rs` without `builtin_asm_labels`Rejyr-8/+233
2023-01-09migrate: `UnsafeCode` in `builtin.rs`Rejyr-1/+41
2023-01-09migrate: `hidden_unicode_codepoints.rs`Rejyr-1/+89
2023-01-09refactor: refactor to derive for some lints.Rejyr-112/+62
2023-01-09migrate: `for_loops_over_fallibles.rs`Rejyr-0/+49
2023-01-09migrate: `expect.rs`Rejyr-1/+30
2023-01-09migrate(wip): `builtin.rs`Rejyr-1/+256