about summary refs log tree commit diff
path: root/compiler/rustc_lint
AgeCommit message (Expand)AuthorLines
2024-01-23Rename `LintContext::lookup_with_diagnostics` as `LintContext::span_lint_with...Nicholas Nethercote-3/+9
2024-01-23Rename `LintContext::lookup` as `LintContext::opt_span_lint`.Nicholas Nethercote-8/+8
2024-01-23Rename `LintContext::struct_span_lint` as `LintContext::span_lint`.Nicholas Nethercote-2/+2
2024-01-22Rollup merge of #118639 - fmease:deny-features-in-stable-rustc-crates, r=Waff...Matthias Krüger-8/+28
2024-01-22Revert "Auto merge of #118133 - Urgau:stabilize_trait_upcasting, r=WaffleLapkin"Oli Scherer-3/+12
2024-01-22Auto merge of #120080 - cuviper:128-align-packed, r=nikicbors-5/+5
2024-01-22Rollup merge of #119710 - Nilstrieb:let-_-=-oops, r=TaKO8KiMatthias Krüger-37/+68
2024-01-19Pack the u128 in LitKind::IntJosh Stone-5/+5
2024-01-18Rollup merge of #119967 - ShE3py:patkind-err, r=WaffleLapkinMatthias Krüger-1/+1
2024-01-17Auto merge of #119930 - Urgau:check-cfg-empty-values-means-empty, r=petrochenkovbors-0/+11
2024-01-17Add `PatKind::Err`Lieselotte-1/+1
2024-01-13Add check for ui_testing via promoting parameters from `ParseSess` to `Session`George-lewis-9/+6
2024-01-13Add way to express no-values with check-cfgUrgau-0/+11
2024-01-13Auto merge of #118924 - Urgau:check-cfg-exclude-well-known-from-diag, r=petro...bors-2/+10
2024-01-12Improve `let_underscore_lock`Nilstrieb-37/+68
2024-01-12Auto merge of #117321 - chenyukang:yukang-fix-117142, r=petrochenkovbors-12/+22
2024-01-12Exclude well known names from showing a suggestion in check-cfgUrgau-2/+10
2024-01-12Rollup merge of #119819 - chenyukang:yukang-fix-118183-lint, r=davidtwcoGuillaume Gomez-14/+32
2024-01-12check rust lints when an unknown lint is detectedyukang-14/+32
2024-01-10Simplify some redundant namesMichael Goulet-2/+1
2024-01-09Rollup merge of #118649 - compiler-errors:coherence-ambig, r=lcnrMatthias Krüger-0/+5
2024-01-09Rollup merge of #119704 - chenyukang:yukang-fix-let_underscore, r=NilstriebMatthias Krüger-1/+8
2024-01-08Make inductive cycles in coherence ambiguous alwaysMichael Goulet-0/+5
2024-01-08Fix 2 variable binding issues in let_underscoreyukang-1/+8
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-8/+28
2023-12-19Plumb awaitness of for loopsEric Holk-3/+3
2023-12-18Rename `Session::span_diagnostic` as `Session::dcx`.Nicholas Nethercote-2/+2