about summary refs log tree commit diff
path: root/compiler/rustc_lint/src
AgeCommit message (Expand)AuthorLines
2023-09-27Simplify casting logic of the invalid_reference_casting lintUrgau-80/+32
2023-09-27Use absolute paths in rustc_lint::passes macrosAlex Macleod-84/+78
2023-09-27Prefer expr_or_init over manual init detectionUrgau-29/+8
2023-09-26const-eval: make misalignment a hard errorRalf Jung-0/+5
2023-09-26Don't store lazyness in DefKindMichael Goulet-3/+3
2023-09-23Remove GeneratorWitness and rename GeneratorWitnessMIR.Camille GILLOT-1/+0
2023-09-22make the reason: field mandatory for @future_incompatible lintsRalf Jung-4/+6
2023-09-21Record asyncness span in HIRMichael Goulet-2/+1
2023-09-21Rollup merge of #115257 - Urgau:invalid-utf8-walk-up-hir, r=NilstriebGuillaume Gomez-11/+62
2023-09-21Improve invalid UTF-8 lint by finding the expression initializerUrgau-11/+14
2023-09-18Add clippy like expr_or_init fn to rustc LateContextUrgau-0/+48
2023-09-16Auto merge of #114494 - est31:extend_useless_ptr_null_checks, r=jackh726bors-23/+31
2023-09-14Auto merge of #115677 - matthewjasper:let-expr-recovery, r=b-naberbors-7/+5
2023-09-14Auto merge of #115825 - cjgillot:expr-field-lint, r=compiler-errorsbors-0/+9
2023-09-13Visit ExprField for lint levels.Camille GILLOT-0/+9
2023-09-11Rollup merge of #115631 - compiler-errors:ctypes-unsized, r=davidtwcoMatthias Krüger-1/+6
2023-09-11Move let expression checking to parsingMatthew Jasper-7/+5
2023-09-11Rollup merge of #115739 - Alexendoo:lint-pass-check-attribute, r=oli-obkMatthias Krüger-13/+12
2023-09-11Auto merge of #115387 - weihanglo:merge-check-and-lint, r=oli-obkbors-153/+133
2023-09-10Call `LateLintPass::check_attribute` from `with_lint_attrs`Alex Macleod-13/+12
2023-09-09Fix ICE in improper_ctypes_definitions lintGurinder Singh-2/+2
2023-09-07Don't ICE when computing ctype's repr_nullable_ptr for possibly-unsized tyMichael Goulet-1/+6
2023-09-07Auto merge of #115166 - Urgau:invalid_ref_casting-invalid-unsafecell-usage, r...bors-5/+39
2023-09-06Rollup merge of #115578 - ouz-a:rustc_clarify, r=oli-obkMatthias Krüger-1/+1
2023-09-06make comments less crypticouz-a-1/+1
2023-09-03Emit unused doc comment warnings for pat and expr fieldsGurinder Singh-0/+14
2023-09-01Rollup merge of #115424 - notriddle:notriddle/issue-106413, r=oli-obkMatthias Krüger-1/+30
2023-09-01Auto merge of #113126 - Bryanskiy:delete_old, r=petrochenkovbors-0/+5
2023-08-31Use terminology more sensiblyMichael Howell-1/+1
2023-08-31diagnostics: avoid wrong `unused_parens` on `x as (T) < y`Michael Howell-1/+30
2023-08-30feat(rustc_lint): make `CheckLintName` respect lint levelWeihang Lo-109/+97
2023-08-30refactor(rustc_lint): inline `check_lint_name_cmdline`Weihang Lo-70/+62
2023-08-29some more is_zst that should be is_1zstRalf Jung-3/+3
2023-08-24Rollup merge of #115152 - weihanglo:lint-refactor, r=compiler-errorsWeihang Lo-51/+77
2023-08-24Lint on invalid UnsafeCell::raw_get with invalid_reference_casting lintUrgau-5/+39
2023-08-24Auto merge of #115094 - Mark-Simulacrum:bootstrap-update, r=ozkanonurbors-1/+1
2023-08-24refactor: use references to reduce unnecessary clonesWeihang Lo-28/+27
2023-08-24lint: translate `RenamedOrRemovedLint`Weihang Lo-34/+61
2023-08-23Bump cfg(bootstrap)Mark Rousskov-1/+1
2023-08-23Improve note for the invalid_reference_casting lintUrgau-0/+2
2023-08-23Rollup merge of #115100 - Urgau:invalid_ref_casting-ptr-writes, r=est31Dylan DPC-17/+47
2023-08-22Rollup merge of #115011 - compiler-errors:warn-on-elided-assoc-ct-lt, r=cjgillotMichael Goulet-0/+8
2023-08-22Add support for ptr::write for the invalid_reference_casting lintUrgau-17/+47
2023-08-22unknown unstable lint command linemojave2-10/+18
2023-08-20Warn on elided lifetimes in associated constantsMichael Goulet-0/+8
2023-08-16Rollup merge of #114784 - Urgau:many-improve-invalid_reference_casting-lint, ...Matthias Krüger-18/+31
2023-08-15Rollup merge of #114772 - fee1-dead-contrib:typed-did, r=b-naberGuillaume Gomez-5/+5
2023-08-15Improve `invalid_reference_casting` lintUrgau-18/+31
2023-08-14match scrutinee need necessary parentheses for structsyukang-0/+18
2023-08-14Use `{Local}ModDefId` in many queriesNilstrieb-5/+5