about summary refs log tree commit diff
path: root/compiler/rustc_lint/src
AgeCommit message (Expand)AuthorLines
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
2023-08-13Auto merge of #114757 - Urgau:transmute-with-invalid_reference_casting, r=est31bors-24/+48
2023-08-13Auto merge of #114723 - petrochenkov:noplugin2, r=davidtwcobors-3/+19
2023-08-12Also consider `transmute` with the `invalid_reference_casting` lintUrgau-24/+48
2023-08-11rustc: Move `features` from `Session` to `GlobalCtxt`Vadim Petrochenkov-3/+19
2023-08-10downgrade internal_features to warnlcnr-2/+2
2023-08-06Improve diagnostics and add tests for function callsest31-23/+31
2023-08-06Rollup merge of #114486 - Urgau:const-context-nan-suggestion-114471, r=compil...Matthias Krüger-6/+10
2023-08-05Add FIXME as reminder to restore suggestion laterMichael Goulet-0/+1
2023-08-05Avoid invalid NaN lint machine-applicable suggestion in const contextUrgau-6/+9
2023-08-05Rollup merge of #114248 - fmease:neg-copy-rules-out-missing-copy-impl, r=b-naberMatthias Krüger-0/+23
2023-08-05Auto merge of #113734 - cjgillot:no-crate-lint, r=petrochenkovbors-512/+494
2023-08-05Add #[rustc_never_returns_null_ptr]est31-1/+1
2023-08-04Auto merge of #112117 - bryangarza:track-caller-feature-gate, r=compiler-errorsbors-7/+7
2023-08-04Rollup merge of #114472 - estebank:issue-76140, r=compiler-errorsMatthias Krüger-1/+4
2023-08-04Rollup merge of #114434 - Nilstrieb:indexing-spans, r=est31Matthias Krüger-2/+2
2023-08-04Reword confusable idents lintEsteban Küber-1/+4
2023-08-04Fetch diagnostic item later.Camille GILLOT-2/+2
2023-08-04Make rustc internal lints per module.Camille GILLOT-7/+7
2023-08-04Make MissingDoc a module lint.Camille GILLOT-71/+38
2023-08-04Make MissingDebugImplementation a module lint.Camille GILLOT-22/+14
2023-08-04Simplify clashing_extern_declarations.Camille GILLOT-270/+263
2023-08-04Querify clashing_extern_declarations lint.Camille GILLOT-410/+440
2023-08-04Auto merge of #114414 - cjgillot:early-unnameable-test, r=petrochenkovbors-83/+1
2023-08-04Improve spans for indexing expressionsNilstrieb-2/+2
2023-08-03Auto merge of #108955 - Nilstrieb:dont-use-me-pls, r=oli-obkbors-16/+59