about summary refs log tree commit diff
path: root/compiler/rustc_lint/src
AgeCommit message (Expand)AuthorLines
2024-01-06rustc_span: Optimize syntax context comparisonsVadim Petrochenkov-3/+6
2024-01-05Auto merge of #119192 - michaelwoerister:mcp533-push, r=cjgillotbors-10/+11
2024-01-05Remove outdated references to `librustc_middle`.Alona Enraght-Moony-1/+1
2024-01-05Rollup merge of #119538 - nnethercote:cleanup-errors-5, r=compiler-errorsMichael Goulet-80/+53
2024-01-05Auto merge of #118297 - shepmaster:warn-dead-tuple-fields, r=WaffleLapkinbors-0/+1
2024-01-04Replace a number of FxHashMaps/Sets with stable-iteration-order alternatives.Michael Woerister-10/+11
2024-01-04Rollup merge of #119195 - asquared31415:named_asm_labels_fix, r=AmanieuMatthias Krüger-13/+49
2024-01-03Remove lots of `rustc_errors::` qualifiers in `lints.rs`.Nicholas Nethercote-63/+36
2024-01-03Rename some `Diagnostic` setters.Nicholas Nethercote-17/+17
2024-01-02Merge `unused_tuple_struct_fields` into `dead_code`Jake Goulding-0/+1
2023-12-31rustc_lint: Enforce `rustc::potential_query_instability` lintMartin Nordholts-1/+13
2023-12-31rustc_lint: Make `LintLevelsProvider::current_specs()` return `&FxIndexMap`Martin Nordholts-17/+17
2023-12-30Move around the code responsible for decorating builtin diagnosticsUrgau-444/+538
2023-12-30Rollup merge of #119425 - Urgau:check-cfg-fix-cargo-diag-bug, r=NilstriebMatthias Krüger-2/+0
2023-12-30Fix invalid check-cfg Cargo feature diagnostic helpUrgau-2/+0
2023-12-28rustc_lint: Prevent triplication of 'unknown lint' lintMartin Nordholts-23/+23
2023-12-28rustc_lint: Prevent multiple 'incompatible with previous forbid' lintsMartin Nordholts-1/+1
2023-12-28rustc_lint: Prevent multiple 'lint ignored' lintsMartin Nordholts-1/+1
2023-12-28rustc_lint: Rename `warn_about_weird_lints` to `lint_added_lints`Martin Nordholts-8/+8
2023-12-24Remove `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-14/+17
2023-12-23Auto merge of #119211 - rust-lang:pa-master-1.77, r=Mark-Simulacrumbors-1/+0
2023-12-22update cfg(bootstrap)sPietro Albini-1/+0
2023-12-21Make named_asm_labels lint not trigger on unicode and trigger on format argsasquared31415-13/+49
2023-12-20Undeprecate and use lint `unstable_features`León Orell Valerian Liehr-7/+27
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/+242
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