summary refs log tree commit diff
path: root/compiler/rustc_lint/src
AgeCommit message (Expand)AuthorLines
2023-07-11Prevent emitting `missing_docs` for `pub extern crate`Guillaume Gomez-2/+6
2023-07-08Fix dropping_copy_types lint from linting in match-arm with side-effectsUrgau-1/+1
2023-05-27Rollup merge of #111714 - cjgillot:lint-expect-confusion, r=wesleywiserMatthias Krüger-3/+7
2023-05-25Rollup merge of #111757 - lowr:fix/lint-attr-on-match-arm, r=eholkMichael Goulet-2/+4
2023-05-24Use `is_some_and`/`is_ok_and` in less obvious spotsMaybe Waffle-3/+2
2023-05-24Use `Option::is_some_and` and `Result::is_ok_and` in the compilerMaybe Waffle-5/+5
2023-05-21Rename `forget_ref` lint to `forgetting_references`Urgau-5/+5
2023-05-21Rename `drop_ref` lint to `dropping_references`Urgau-6/+6
2023-05-21Rename `forget_copy` lint to `forgetting_copy_types`Urgau-5/+5
2023-05-21Rename `drop_copy` lint to `dropping_copy_types`Urgau-5/+5
2023-05-20Rollup merge of #111491 - compiler-errors:nested-fut-must-use, r=wesleywiserDylan DPC-1/+3
2023-05-19Consider lint check attributes on match arms in late lintsRyo Yoshida-2/+4
2023-05-18Stop confusing specification levels when computing expectations.Camille GILLOT-3/+7
2023-05-16Rollup merge of #111572 - kpreid:mdi, r=compiler-errorsNilstrieb-2/+2
2023-05-15Move expansion of query macros in rustc_middle to rustc_middle::queryJohn Kåre Alsaker-3/+3
2023-05-14Document that `missing_copy_implementations` and `missing_debug_implementatio...Kevin Reid-2/+2
2023-05-14Auto merge of #111425 - Bryanskiy:privacy_ef, r=petrochenkovbors-2/+6
2023-05-13Auto merge of #107586 - SparrowLii:parallel-query, r=cjgillotbors-10/+10
2023-05-12Auto merge of #109732 - Urgau:uplift_drop_forget_ref_lints, r=davidtwcobors-0/+204
2023-05-11refactor: use by-ref TokenTree iterator to avoid a few clonesCaleb Cartwright-4/+4
2023-05-12Dont check `must_use` on nested `impl Future` from fnMichael Goulet-1/+3
2023-05-11Populate effective visibilities in rustc_privacyBryanskiy-2/+6
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-12/+12
2023-05-10Uplift clippy::forget_copy to rustcUrgau-2/+44
2023-05-10Uplift clippy::forget_ref to rustcUrgau-2/+36
2023-05-10Uplift clippy::drop_copy to rustcUrgau-2/+38
2023-05-10Uplift clippy::drop_ref to rustcUrgau-0/+88
2023-05-08Rollup merge of #109410 - fmease:iat-alias-kind-inherent, r=compiler-errorsMichael Goulet-3/+8
2023-05-07Rollup merge of #111300 - Flying-Toast:while_true_span_condition, r=compiler-...Yuki Okushi-2/+1
2023-05-07Rollup merge of #111150 - mj10021:issue-111025-fix, r=petrochenkovYuki Okushi-24/+5
2023-05-06delete whitelist and add checks to check_item() for missing_docsJames Dietz-24/+5
2023-05-06Emit while_true lint spanning the entire loop conditionFlying-Toast-2/+1
2023-05-06Check arguments length in trivial diagnostic lintclubby789-2/+4
2023-05-06introduce `DynSend` and `DynSync` auto traitSparrowLii-10/+10
2023-05-05Improve check-cfg diagnostics (part 2)Urgau-9/+45
2023-05-05Improve check-cfg diagnostics (part 1)Urgau-8/+8
2023-05-05Improve internal representation of check-cfgUrgau-16/+18
2023-05-04IAT: Introduce AliasKind::InherentLeón Orell Valerian Liehr-3/+8
2023-05-03Restrict `From<S>` for `{D,Subd}iagnosticMessage`.Nicholas Nethercote-11/+11
2023-04-29add match to diagnostic messagesDeadbeef-3/+3
2023-04-28uplift `clippy::clone_double_ref` as `suspicious_double_ref_op`Deadbeef-18/+71
2023-04-27rename `needs_subst` to `has_param`Boxy-1/+1
2023-04-26Rollup merge of #108760 - clubby789:autolintstuff, r=wesleywiserMatthias Krüger-1/+84
2023-04-25Rollup merge of #110556 - kylematsuda:earlybinder-explicit-item-bounds, r=com...Matthias Krüger-3/+3
2023-04-25Add deny lint to prevent untranslatable diagnostics using static stringsclubby789-1/+84
2023-04-24Split `{Idx, IndexVec, IndexSlice}` into their own modulesMaybe Waffle-1/+1
2023-04-20add subst_identity_iter and subst_identity_iter_copied methods on EarlyBinder...Kyle Matsuda-26/+18
2023-04-20add EarlyBinder to output of explicit_item_bounds; replace bound_explicit_ite...Kyle Matsuda-3/+3
2023-04-20change usages of explicit_item_bounds to bound_explicit_item_boundsKyle Matsuda-18/+26