about summary refs log tree commit diff
path: root/compiler/rustc_lint/src
AgeCommit message (Expand)AuthorLines
2024-02-23Rollup merge of #121471 - estebank:lint-clone, r=TaKO8KiMatthias Krüger-1/+17
2024-02-22When encountering `<&T as Clone>::clone(x)` because `T: Clone`, suggest `#[de...Esteban Küber-1/+17
2024-02-21Rollup merge of #121338 - jieyouxu:ambiguous_wide_pointer_comparisons_suggest...Dylan DPC-3/+6
2024-02-20Downgrade ambiguous_wide_pointer_comparisons suggestions to MaybeIncorrect许杰友 Jieyou Xu (Joe)-3/+6
2024-02-20Rollup merge of #121318 - kadiwa4:no_assembly_in_supposedly_safe_code, r=Nils...Nilstrieb-0/+7
2024-02-20Add newtype for raw identsclubby789-1/+1
2024-02-20Auto merge of #120576 - nnethercote:merge-Diagnostic-DiagnosticBuilder, r=dav...bors-17/+65
2024-02-20Auto merge of #121087 - oli-obk:eager_const_failures, r=lcnrbors-28/+0
2024-02-20Reduce capabilities of `Diagnostic`.Nicholas Nethercote-17/+65
2024-02-20trigger `unsafe_code` on `global_asm!` invocationsKalle Wachsmuth-0/+7
2024-02-19Always evaluate free constants and statics, even if previous errors occurredOli Scherer-28/+0
2024-02-19Remove suspicious auto trait lintSantiago Pastorino-0/+5
2024-02-18Auto merge of #121034 - obeis:improve-static-mut-ref, r=RalfJungbors-0/+1
2024-02-18Rollup merge of #121237 - Urgau:better-cargo-heuristic, r=compiler-errorsLeón Orell Valerian Liehr-2/+2
2024-02-18Improve wording of static_mut_refObei Sideg-0/+1
2024-02-17Rollup merge of #121085 - davidtwco:always-eager-diagnostics, r=nnethercoteMatthias Krüger-1/+1
2024-02-17Use better heuristic for printing Cargo specific diagnosticsUrgau-2/+2
2024-02-17Add cargo update suggestion for non local defsUrgau-3/+40
2024-02-17Add const-anon suggestion for non local implUrgau-2/+22
2024-02-17Implement RFC3373 non local definitions lintUrgau-0/+207
2024-02-16Auto merge of #120500 - oli-obk:intrinsics2.0, r=WaffleLapkinbors-1/+1
2024-02-16Auto merge of #120486 - reitermarkus:use-generic-nonzero, r=dtolnaybors-3/+3
2024-02-15Auto merge of #121142 - GuillaumeGomez:rollup-5qmksjw, r=GuillaumeGomezbors-0/+7
2024-02-15Auto merge of #120931 - chenyukang:yukang-cleanup-hashmap, r=michaelwoeristerbors-13/+10
2024-02-15errors: only eagerly translate subdiagnosticsDavid Wood-1/+1
2024-02-15Use generic `NonZero` internally.Markus Reiter-3/+3
2024-02-14Ignore unsized types when trying to determine the size of a typeUrgau-0/+7
2024-02-14Rollup merge of #121075 - chenyukang:yukang-fix-121070-lint-range, r=oli-obkGuillaume Gomez-4/+12
2024-02-14clean up potential_query_instability with FxIndexMap and UnordMapyukang-13/+10
2024-02-14Use fewer delayed bugs.Nicholas Nethercote-7/+6
2024-02-14Fix false positive with if let and rangesyukang-4/+12
2024-02-12Introduce small cache to avoid recomputing the same value twiceUrgau-4/+13
2024-02-12Lint on reference casting to bigger underlying allocationUrgau-8/+79
2024-02-12Make `is_intrinsic` query return the intrinsic nameOli Scherer-1/+1
2024-02-11Rollup merge of #120872 - petrochenkov:opthirpar, r=cjgillotMatthias Krüger-20/+14
2024-02-10Rollup merge of #120866 - Zalathar:no-min-spec, r=compiler-errorsMatthias Krüger-1/+0
2024-02-10hir: Remove `hir::Map::{opt_parent_id,parent_id,get_parent,find_parent}`Vadim Petrochenkov-20/+14
2024-02-10Remove unnecessary `#![feature(min_specialization)]`Zalathar-1/+0
2024-02-10Rollup merge of #120853 - blyxyas:no-collect, r=cjgillotMatthias Krüger-6/+3
2024-02-09tidyblyxyas-4/+1
2024-02-09Avoid a collection and iteration on empty passesblyxyas-6/+6
2024-02-09Auto merge of #120676 - Mark-Simulacrum:bootstrap-bump, r=clubby789bors-1/+1
2024-02-09Rollup merge of #120693 - nnethercote:invert-diagnostic-lints, r=davidtwcoMatthias Krüger-5/+4
2024-02-08Auto merge of #120544 - BoxyUwU:enter_forall, r=lcnrbors-89/+92
2024-02-08introduce `enter_forall`Boxy-89/+92
2024-02-08Step all bootstrap cfgs forwardMark Rousskov-1/+1
2024-02-08Rollup merge of #120734 - nnethercote:SubdiagnosticMessageOp, r=compiler-errorsMatthias Krüger-42/+12
2024-02-08Add `SubdiagnosticMessageOp` as a trait alias.Nicholas Nethercote-42/+12
2024-02-06Rollup merge of #120435 - chenyukang:yukang-fix-120427-cfg-name, r=Urgau,Nils...Matthias Krüger-10/+40
2024-02-06Rollup merge of #120423 - RalfJung:indirect-structural-match, r=petrochenkovMatthias Krüger-0/+5