about summary refs log tree commit diff
path: root/compiler/rustc_lint/src
AgeCommit message (Expand)AuthorLines
2023-12-06Rollup merge of #118504 - compiler-errors:must-use, r=WaffleLapkinMatthias Krüger-1/+1
2023-12-06Auto merge of #118605 - fee1-dead-contrib:rm-rustc_host, r=compiler-errorsbors-3/+3
2023-12-06Add warn-by-default lint against ambiguous wide pointer comparisonsUrgau-8/+242
2023-12-05Remove `#[rustc_host]`, use internal desugaringDeadbeef-3/+3
2023-12-04Option<CoroutineKind>Eric Holk-4/+8
2023-12-04Merge Async and Gen into CoroutineKindEric Holk-2/+6
2023-12-03Parse a pattern with no armNadrieril-11/+15
2023-12-02Auto merge of #118470 - nnethercote:cleanup-error-handlers, r=compiler-errorsbors-1/+1
2023-12-02Rename `HandlerInner::delay_span_bug` as `HandlerInner::span_delayed_bug`.Nicholas Nethercote-1/+1
2023-12-01vis note for no pub reexports glob importbohan-0/+4
2023-11-30Enforce must_use on associated types and RPITITsMichael Goulet-1/+1
2023-11-29Rollup merge of #118157 - Nadrieril:never_pat-feature-gate, r=compiler-errorsMatthias Krüger-1/+1
2023-11-29Add `never_patterns` feature gateNadrieril-1/+1
2023-11-28Fix unused_parens when cast is followed LTyukang-12/+22
2023-11-28Rename `BinOpKind::lazy` as `BinOpKind::is_lazy`.Nicholas Nethercote-2/+2
2023-11-26rustc: `hir().local_def_id_to_hir_id()` -> `tcx.local_def_id_to_hir_id()` cle...Vadim Petrochenkov-2/+2
2023-11-25Rollup merge of #118288 - compiler-errors:is_some_and, r=lqd,dtolnayMichael Goulet-1/+1
2023-11-25Rollup merge of #118158 - nnethercote:reduce-fluent-boilerplate, r=compiler-e...Michael Goulet-3/+1
2023-11-26Use `rustc_fluent_macro::fluent_messages!` directly.Nicholas Nethercote-2/+1
2023-11-26Avoid need for `{D,Subd}iagnosticMessage` imports.Nicholas Nethercote-1/+0
2023-11-25Rollup merge of #118017 - tamird:better-safety, r=cjgillotGuillaume Gomez-4/+7
2023-11-25is_{some,ok}_andMichael Goulet-1/+1
2023-11-24Replace `option.map(cond) == Some(true)` with `option.is_some_and(cond)`David Tolnay-10/+6
2023-11-22Rework supertrait lint once againMichael Goulet-21/+35
2023-11-22rustc_session: implement latent TODOTamir Duberstein-3/+7
2023-11-22rustc_lint: remove superfluous assertionTamir Duberstein-1/+0
2023-11-22Auto merge of #118133 - Urgau:stabilize_trait_upcasting, r=WaffleLapkinbors-16/+5
2023-11-22Auto merge of #112380 - jieyouxu:useless-bindings-lint, r=WaffleLapkinbors-0/+82
2023-11-22Stabilize RFC3324 dyn upcasting coercionUrgau-16/+5
2023-11-22Auto merge of #118125 - nnethercote:custom_encodable, r=compiler-errorsbors-1/+0
2023-11-22Replace `custom_encodable` with `encodable`.Nicholas Nethercote-1/+0
2023-11-22Auto merge of #118071 - Urgau:check-cfg-cargo-feature, r=petrochenkovbors-0/+2
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-73/+73
2023-11-21Improve diagnostic for unexpected feature config name from CargoUrgau-0/+2
2023-11-21Rollup merge of #117522 - Urgau:check-cfg-cli-own-lint, r=petrochenkovNilstrieb-41/+0
2023-11-20Bump future release warning modeMichael Goulet-1/+1
2023-11-20Don't consider regions in deref_into_dyn_supertrait lintMichael Goulet-5/+11
2023-11-20Add allow-by-default lint for unit bindings许杰友 Jieyou Xu (Joe)-0/+82
2023-11-18catch pinned `must_use` types in `unused_must_use`Max Niederman-0/+18
2023-11-18Remove --check-cfg checking of --cfg argsUrgau-41/+0
2023-11-17Rollup merge of #117549 - DaniPopes:more-copied, r=b-naberMatthias Krüger-1/+1
2023-11-17rename bound region instantiationlcnr-5/+5
2023-11-17Move `lint_store` from `GlobalCtxt` to `Session`.Nicholas Nethercote-9/+15
2023-11-17Remove dead lint code.Nicholas Nethercote-33/+5
2023-11-15Bump cfg(bootstrap)sMark Rousskov-2/+2
2023-11-15Auto merge of #117908 - lcnr:region-kind-rename, r=BoxyUwUbors-2/+2
2023-11-14Fix some typoscui fliter-1/+1
2023-11-14finish `RegionKind` renamelcnr-2/+2
2023-11-04Remove support for compiler plugins.Nicholas Nethercote-11/+9
2023-11-03compiler: use `copied` instead of manual `map`DaniPopes-1/+1