about summary refs log tree commit diff
path: root/compiler/rustc_lint
AgeCommit message (Expand)AuthorLines
2023-12-19Plumb awaitness of for loopsEric Holk-3/+3
2023-12-18Rename `Session::span_diagnostic` as `Session::dcx`.Nicholas Nethercote-2/+2
2023-12-15Rollup merge of #118989 - compiler-errors:lint-decorator-2, r=WaffleLapkinJubilee-45/+11
2023-12-16Simplify lint decorator derive tooMichael Goulet-45/+11
2023-12-16Remove the lint outrightMichael Goulet-0/+5
2023-12-15Fix commentsMichael Goulet-11/+0
2023-12-15Don't pass lint back out of lint decoratorMichael Goulet-36/+16
2023-12-14Recurse into let bindings if possible in ref casting lintUrgau-1/+6
2023-12-14Refactor and rename some functions in ref casting lintUrgau-40/+54
2023-12-14Extract casting detection logic in it's own functionUrgau-19/+24
2023-12-13Auto merge of #118213 - Urgau:check-cfg-diagnostics-rustc-cargo, r=petrochenkovbors-3/+48
2023-12-13Add more suggestion to unexpected cfg names and valuesUrgau-3/+48
2023-12-12Move some methods from `tcx.hir()` to `tcx`zetanumbers-4/+4
2023-12-11Auto merge of #117758 - Urgau:lint_pointer_trait_comparisons, r=davidtwcobors-8/+246
2023-12-11Auto merge of #118661 - fee1-dead-contrib:restore-const-partialEq, r=compiler...bors-1/+0
2023-12-11Add spacing information to delimiters.Nicholas Nethercote-1/+1
2023-12-10Auto merge of #118692 - surechen:remove_unused_imports, r=petrochenkovbors-4/+0
2023-12-10Revert "Don't print host effect param in pretty path_generic_args"Deadbeef-1/+0
2023-12-10remove redundant importssurechen-4/+0
2023-12-09Don't print host effect param in pretty path_generic_argsMichael Goulet-0/+1
2023-12-08Rename some more coro_kind -> coroutine_kindMichael Goulet-4/+5
2023-12-08Introduce closure_id method on CoroutineKindMichael Goulet-8/+2
2023-12-08Auto merge of #118420 - compiler-errors:async-gen, r=eholkbors-12/+11
2023-12-08Make some matches exhaustive to avoid bugs, fix toolsMichael Goulet-12/+11
2023-12-08coro_kind -> coroutine_kindMichael Goulet-2/+2
2023-12-08Auto merge of #118527 - Nadrieril:never_patterns_parse, r=compiler-errorsbors-11/+15
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/+246
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-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-22/+37
2023-11-22rustc_session: implement latent TODOTamir Duberstein-3/+7