about summary refs log tree commit diff
path: root/compiler/rustc_lint
AgeCommit message (Expand)AuthorLines
2023-07-10Uplift `clippy::fn_null_check` to rustcUrgau-0/+124
2023-07-05Move `TyCtxt::mk_x` to `Ty::new_x` where applicableBoxy-10/+11
2023-07-04allow host param to be lowercaseDeadbeef-0/+4
2023-07-04Auto merge of #113303 - compiler-errors:yeet-chalk, r=lcnrbors-2/+1
2023-07-03remove TypeWellFormedFromEnvMichael Goulet-2/+1
2023-07-03lint: refactor to make logic a bit cleanerDavid Wood-29/+27
2023-07-03lint: stop normalizing types to avoid recur limitsDavid Wood-5/+1
2023-07-03lint/ctypes: check other types for ext. fn-ptr tyDavid Wood-1/+63
2023-07-03lint/ctypes: multiple external fn-ptrs in tyDavid Wood-18/+45
2023-07-03lint/ctypes: ext. abi fn-ptr in internal abi fnDavid Wood-16/+59
2023-07-01Fix dropping_copy_types lint from linting in match-arm with side-effectsUrgau-1/+1
2023-06-29Rollup merge of #112670 - petrochenkov:typriv, r=eholkMatthias Krüger-6/+2
2023-06-26TypeWellFormedInEnvMichael Goulet-1/+2
2023-06-26Migrate predicates_of and caller_bounds to ClauseMichael Goulet-22/+12
2023-06-22migrate inferred_outlives_of to ClauseMichael Goulet-4/+4
2023-06-22Migrate item_bounds to ty::ClauseMichael Goulet-5/+4
2023-06-19s/Clause/ClauseKindMichael Goulet-18/+18
2023-06-17Move ConstEvaluatable to ClauseMichael Goulet-2/+2
2023-06-17Move WF goal to clauseMichael Goulet-1/+1
2023-06-16Add `AliasKind::Weak` for type aliases.Oli Scherer-3/+3
2023-06-16Auto merge of #112673 - scottmcm:enough-stack, r=compiler-errorsbors-4/+7
2023-06-15Rollup merge of #112529 - jieyouxu:block-expr-unused-must-use, r=oli-obkGuillaume Gomez-24/+123
2023-06-15Rollup merge of #112517 - fee1-dead-contrib:sus-op-no-borrow, r=compiler-errorsGuillaume Gomez-39/+47
2023-06-15privacy: Do not mark items reachable farther than their nominal visibilityVadim Petrochenkov-6/+2
2023-06-15Add an `ensure_sufficient_stack` to `LateContextAndPass::visit_expr`Scott McMurray-4/+7
2023-06-15Rollup merge of #111212 - nicklimmm:issue-107896-fix, r=pnkfelixMatthias Krüger-4/+63
2023-06-15Extend `unused_must_use` to cover block exprs许杰友 Jieyou Xu (Joe)-24/+123
2023-06-13Fix explicit-outlives-requirements lint spanSam Ginnett-7/+12
2023-06-13do not use stringly typed diagnosticsDeadbeef-26/+31
2023-06-11Add subdiagnostic and suggestion for overflowing bin hex with sign bitsNicky Lim-4/+63
2023-06-11`suspicious_double_ref_op`: don't lint on `.borrow()`Deadbeef-15/+18
2023-06-10Auto merge of #112494 - matthiaskrgr:rollup-xdf3om8, r=matthiaskrgrbors-2/+2
2023-06-10Auto merge of #111818 - Urgau:uplift_cmp_nan, r=cjgillotbors-7/+130
2023-06-10Uplift improved version of `clippy::cmp_nan` to rustcUrgau-7/+130
2023-06-10Adjust span labels for `HIDDEN_GLOB_REEXPORTS`许杰友 Jieyou Xu (Joe)-2/+2
2023-06-09Auto merge of #112465 - GuillaumeGomez:rollup-gyh5buc, r=GuillaumeGomezbors-4/+18
2023-06-09Auto merge of #111530 - Urgau:uplift_undropped_manually_drops, r=compiler-errorsbors-2/+65
2023-06-09Improve document of `unsafe_code` lintEval EXEC-4/+18
2023-06-08Uplift clippy::undropped_manually_drops to rustcUrgau-2/+65
2023-06-06Rollup merge of #112343 - GuillaumeGomez:extern-crate-missing-docs, r=notriddleMatthias Krüger-2/+6
2023-06-06Prevent emitting `missing_docs` for `pub extern crate`Guillaume Gomez-2/+6
2023-06-05Ensure space is inserted after keyword in `unused_delims`clubby789-17/+42
2023-06-01Rollup merge of #111496 - mpalmer:unreachable-pub-docs, r=pnkfelixMatthias Krüger-4/+8
2023-05-31Uplift clippy::cast_ref_to_mut to rustcUrgau-0/+82
2023-05-30Rollup merge of #111543 - Urgau:uplift_invalid_utf8_in_unchecked, r=WaffleLapkinNilstrieb-0/+148
2023-05-29Use `Cow` in `{D,Subd}iagnosticMessage`.Nicholas Nethercote-2/+2
2023-05-28Auto merge of #111378 - jieyouxu:local-shadows-glob-reexport, r=petrochenkovbors-0/+4
2023-05-27Add warn-by-default lint for local binding shadowing exported glob re-export ...许杰友 Jieyou Xu (Joe)-0/+4
2023-05-27Rollup merge of #111714 - cjgillot:lint-expect-confusion, r=wesleywiserMatthias Krüger-3/+7
2023-05-27Add invalid_from_utf8 analogous to invalid_from_utf8_uncheckedUrgau-14/+60