summary refs log tree commit diff
path: root/tests/ui/lint
AgeCommit message (Expand)AuthorLines
2023-09-29Rollup merge of #116201 - Jarcho:noop_fix, r=fee1-deadMatthias Krüger-7/+33
2023-09-28Fix `noop_method_call` detection for new diagnostic itemsJason Newcomb-7/+33
2023-09-27Fix ICE by introducing an expr_or_init variant for outside bodiesUrgau-0/+4
2023-09-27Simplify casting logic of the invalid_reference_casting lintUrgau-25/+55
2023-09-27Prefer expr_or_init over manual init detectionUrgau-20/+66
2023-09-23Bless tests.Camille GILLOT-21/+29
2023-09-23Revert duplication of tests.Camille GILLOT-394/+26
2023-09-22Auto merge of #115696 - RalfJung:closure-ty-print, r=oli-obkbors-1/+1
2023-09-21adjust how closure/generator types and rvalues are printedRalf Jung-1/+1
2023-09-21tests/ui: Split large_moves.rs and move to lint/large_assignmentsMartin Nordholts-0/+124
2023-09-21Rollup merge of #115257 - Urgau:invalid-utf8-walk-up-hir, r=NilstriebGuillaume Gomez-39/+123
2023-09-21Improve invalid UTF-8 lint by finding the expression initializerUrgau-39/+123
2023-09-16Auto merge of #114494 - est31:extend_useless_ptr_null_checks, r=jackh726bors-21/+31
2023-09-14Auto merge of #115825 - cjgillot:expr-field-lint, r=compiler-errorsbors-0/+15
2023-09-14Auto merge of #114656 - bossmc:rework-no-coverage-attr, r=oli-obkbors-56/+56
2023-09-13Visit ExprField for lint levels.Camille GILLOT-0/+15
2023-09-11Rollup merge of #115631 - compiler-errors:ctypes-unsized, r=davidtwcoMatthias Krüger-0/+24
2023-09-11Auto merge of #115387 - weihanglo:merge-check-and-lint, r=oli-obkbors-13/+168
2023-09-09Fix ICE in improper_ctypes_definitions lintGurinder Singh-9/+25
2023-09-08Rename the feature, but not the attribute, to `coverage_attribute`Andy Caldwell-1/+1
2023-09-08Rework no_coverage to coverage(off)Andy Caldwell-56/+56
2023-09-07Don't ICE when computing ctype's repr_nullable_ptr for possibly-unsized tyMichael Goulet-0/+24
2023-09-07Auto merge of #115166 - Urgau:invalid_ref_casting-invalid-unsafecell-usage, r...bors-20/+76
2023-09-04Add help to allow lint for the implied by suggestionUrgau-0/+10
2023-09-03Emit unused doc comment warnings for pat and expr fieldsGurinder Singh-4/+52
2023-09-01Rollup merge of #115424 - notriddle:notriddle/issue-106413, r=oli-obkMatthias Krüger-0/+159
2023-09-01Auto merge of #113126 - Bryanskiy:delete_old, r=petrochenkovbors-3/+3
2023-08-31diagnostics: avoid wrong `unused_parens` on `x as (T) < y`Michael Howell-0/+159
2023-08-30feat(rustc_lint): make `CheckLintName` respect lint levelWeihang Lo-47/+75
2023-08-30test(ui/lint): demonstrate the current cmdline lint behaviorWeihang Lo-0/+127
2023-08-24Lint on invalid UnsafeCell::raw_get with invalid_reference_casting lintUrgau-20/+76
2023-08-23Improve note for the invalid_reference_casting lintUrgau-0/+57
2023-08-22Add support for ptr::write for the invalid_reference_casting lintUrgau-5/+53
2023-08-16Rollup merge of #114784 - Urgau:many-improve-invalid_reference_casting-lint, ...Matthias Krüger-17/+102
2023-08-15Rollup merge of #114820 - ehuss:unknown-lint-mod-warning, r=compiler-errorsGuillaume Gomez-0/+36
2023-08-15Improve `invalid_reference_casting` lintUrgau-17/+102
2023-08-14Add test for unknown_lints from another file.Eric Huss-0/+36
2023-08-14match scrutinee need necessary parentheses for structsyukang-0/+50
2023-08-13Auto merge of #114757 - Urgau:transmute-with-invalid_reference_casting, r=est31bors-9/+26
2023-08-12Auto merge of #114710 - Urgau:fix-expect-dead_code-114557, r=cjgillotbors-0/+70
2023-08-12Also consider `transmute` with the `invalid_reference_casting` lintUrgau-9/+26
2023-08-10Respect `#[expect]` the same way `#[allow]` is with the `dead_code` lintUrgau-0/+70
2023-08-07Auto merge of #113902 - Enselic:lint-recursive-drop, r=oli-obkbors-0/+55
2023-08-06Improve diagnostics and add tests for function callsest31-21/+31
2023-08-06Rollup merge of #114486 - Urgau:const-context-nan-suggestion-114471, r=compil...Matthias Krüger-5/+0
2023-08-05Avoid invalid NaN lint machine-applicable suggestion in const contextUrgau-5/+0
2023-08-05Rollup merge of #114248 - fmease:neg-copy-rules-out-missing-copy-impl, r=b-naberMatthias Krüger-0/+15
2023-08-05Auto merge of #113734 - cjgillot:no-crate-lint, r=petrochenkovbors-151/+145
2023-08-04Rollup merge of #114472 - estebank:issue-76140, r=compiler-errorsMatthias Krüger-8/+8
2023-08-04Rollup merge of #114434 - Nilstrieb:indexing-spans, r=est31Matthias Krüger-1/+1