about summary refs log tree commit diff
path: root/compiler/rustc_lint/src
AgeCommit message (Expand)AuthorLines
2025-06-22Rollup merge of #142780 - JonathanBrouwer:must_use_new_attr, r=jdonszelmannGuillaume Gomez-3/+6
2025-06-22Rollup merge of #142593 - blyxyas:improve-docs-itty-bitty-change, r=compiler-...Guillaume Gomez-0/+9
2025-06-22Address review commentsUrgau-9/+31
2025-06-22Port `#[must_use]` to new attribute parsing infrastructureJonathan Brouwer-3/+6
2025-06-21All HIR attributes are outerDavid Tolnay-3/+4
2025-06-21Add `emit_span_lint_lazy` to lazily create `LintDiagnostic` structsUrgau-4/+16
2025-06-21Lazily collect `NonUpperCaseGlobalSubTool` diagnosticsUrgau-18/+20
2025-06-20Switch `non_upper_case_globals` suggestions to being machine-applicableUrgau-2/+2
2025-06-20Rollup merge of #142687 - cjgillot:less-hir_crate, r=oli-obkTrevor Gross-2/+1
2025-06-18Emit the usages suggestions as tool-only suggestionsUrgau-11/+28
2025-06-18Reduce uses of `hir_crate`.Camille GILLOT-2/+1
2025-06-18Implement lint against direct uses of rustc_type_ir in compiler cratesRomain Perier-3/+34
2025-06-18Auto merge of #138165 - jdonszelmann:inline, r=oli-obkbors-0/+1
2025-06-18Also emit suggestions for usages in the `non_upper_case_globals` lintUrgau-11/+68
2025-06-17Rollup merge of #142631 - xizheyin:142143, r=UrgauJacob Pratt-6/+19
2025-06-17fix bugs in inline/force_inline and diagnostics of all attr parsersJana Dönszelmann-0/+1
2025-06-18Dont suggest remove semi inside macro expansion for redundant semi lintxizheyin-6/+19
2025-06-17Auto merge of #137944 - davidtwco:sized-hierarchy, r=oli-obkbors-1/+2
2025-06-17Add a warning to LateContext::get_def_pathblyxyas-0/+9
2025-06-16lint: don't consider sizedness in upcastable lintDavid Wood-1/+2
2025-06-16Port `#[rustc_as_ptr]` to the new attribute systemPavel Grigorenko-1/+2
2025-06-15Rollup merge of #134661 - dtolnay:prefixattr, r=fmeaseLeón Orell Valerian Liehr-0/+15
2025-06-15Rollup merge of #133952 - bjorn3:remove_wasm_legacy_abi, r=alexcrichtonLeón Orell Valerian Liehr-0/+1
2025-06-15Auto merge of #142398 - fee1-dead-contrib:push-ynxrtswtkyxw, r=oli-obkbors-14/+2
2025-06-14Auto merge of #142129 - shepmaster:mismatched-syntaxes-in-function-like-place...bors-7/+33
2025-06-14Remove all support for wasm's legacy ABIbjorn3-0/+1
2025-06-13Rollup merge of #142441 - compiler-errors:lazier-binder-value-folding, r=lcnrJubilee-3/+2
2025-06-13Reduce precedence of expressions that have an outer attrDavid Tolnay-0/+15
2025-06-13TypeVisiting binders no longer requires TypeFolding its interiorMichael Goulet-3/+2
2025-06-13Auto merge of #142443 - matthiaskrgr:rollup-l1l6d0v, r=matthiaskrgrbors-7/+5
2025-06-13Auto merge of #142432 - matthiaskrgr:rollup-ziuls9y, r=matthiaskrgrbors-77/+2
2025-06-13Rollup merge of #128425 - tgross35:missing-fragment-specifier-unconditional, ...Matthias Krüger-7/+5
2025-06-12Auto merge of #142438 - matthiaskrgr:rollup-u1jdnhz, r=matthiaskrgrbors-1/+2
2025-06-12Rollup merge of #134536 - Urgau:fn-ptr-option, r=compiler-errors,traviscrossMatthias Krüger-1/+2
2025-06-12Rollup merge of #141162 - mejrs:gated, r=fee1-deadMatthias Krüger-77/+2
2025-06-12early linting: avoid redundant calls to `check_id`Deadbeef-14/+2
2025-06-12Make `missing_fragment_specifier` an unconditional errorTrevor Gross-7/+5
2025-06-12introduce new lint infraJana Dönszelmann-1/+1
2025-06-12Report the `unpredictable_function_pointer_comparisons` lint in macroUrgau-1/+2
2025-06-10Remove unneeded `check_id` calls as they are already called in `visit_id` in ...Guillaume Gomez-2/+0
2025-06-09Remove rustc_feature::Stabilitymejrs-74/+2
2025-06-09refactor `AttributeGate` and `rustc_attr!` to emit notes during feature chec...mejrs-16/+13
2025-06-09Auto merge of #141435 - RalfJung:unsupported_calling_conventions, r=workingju...bors-1/+0
2025-06-08add (back) unsupported_calling_conventions lint to reject more invalid callin...Ralf Jung-1/+0
2025-06-07Rollup merge of #141661 - Urgau:deny-dangerous_implicit_autorefs, r=traviscrossGuillaume Gomez-2/+2
2025-06-06Apply `mismatched-lifetime-syntaxes` to trait and extern functionsJake Goulding-7/+33
2025-06-06Rollup merge of #142012 - oli-obk:no-optional-spans, r=fee1-deadMatthias Krüger-2/+3
2025-06-05Auto merge of #138677 - shepmaster:consistent-elided-lifetime-syntax, r=travi...bors-68/+637
2025-06-05Replace some `Option<Span>` with `Span` and use DUMMY_SP instead of NoneOli Scherer-2/+3
2025-06-04Replace `elided_named_lifetimes` with `mismatched_lifetime_syntaxes`Jake Goulding-69/+7