about summary refs log tree commit diff
path: root/compiler/rustc_lint
AgeCommit message (Expand)AuthorLines
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-22/+37
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-18/+8
2023-11-22Auto merge of #112380 - jieyouxu:useless-bindings-lint, r=WaffleLapkinbors-0/+85
2023-11-22Stabilize RFC3324 dyn upcasting coercionUrgau-18/+8
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-47/+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/+85
2023-11-18catch pinned `must_use` types in `unused_must_use`Max Niederman-0/+18
2023-11-18Remove --check-cfg checking of --cfg argsUrgau-47/+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
2023-10-30Rollup merge of #117395 - gurry:117380-wrong-parent-sugg, r=NilstriebGuillaume Gomez-1/+1
2023-10-30Fix missing leading space in suggestionGurinder Singh-1/+1
2023-10-30Clean up `rustc_*/Cargo.toml`.Nicholas Nethercote-12/+14
2023-10-21Make `ty::print::Printer` take `&mut self` instead of `self`Nilstrieb-34/+33
2023-10-20s/generator/coroutine/Oli Scherer-10/+10
2023-10-20s/Generator/Coroutine/Oli Scherer-12/+12
2023-10-20Adjust importsMichael Goulet-2/+2
2023-10-19Auto merge of #116874 - compiler-errors:elaborator-nits, r=wesleywiserbors-1/+2
2023-10-18Don't ICE when encountering unresolved regions in fully_resolveMichael Goulet-1/+0
2023-10-18Auto merge of #116885 - aliemjay:rollup-plbeppt, r=aliemjaybors-0/+5
2023-10-18Rollup merge of #116812 - rmehri01:missing_copy_implementations_non_exhaustiv...Ali MJ Al-Nasrawy-0/+5
2023-10-18Auto merge of #116815 - Nilstrieb:more-funny-pretty-printers, r=compiler-errorsbors-34/+32
2023-10-18Make sure that non-pretty-printing usages are using the correct elaboratorMichael Goulet-1/+2
2023-10-17Remove `Printer::Error`Nilstrieb-15/+13
2023-10-17Remove "subprinter" types from `Printer`Nilstrieb-31/+31