about summary refs log tree commit diff
path: root/compiler/rustc_lint
AgeCommit message (Expand)AuthorLines
2024-12-05Rollup merge of #118833 - Urgau:lint_function_pointer_comparisons, r=cjgillotLeón Orell Valerian Liehr-4/+176
2024-12-03Rollup merge of #133753 - dingxiangfei2009:reduce-false-positive-if-let-resco...Matthias Krüger-2/+5
2024-12-03Rollup merge of #133545 - clubby789:symbol-intern-lit, r=jieyouxuMatthias Krüger-3/+44
2024-12-02Add warn-by-default lint against unpredictable fn pointer comparisonsUrgau-4/+176
2024-12-02remove `Ty::is_copy_modulo_regions`lcnr-2/+6
2024-12-02remove outdated commentlcnr-11/+4
2024-12-02reduce false positives on some common cases from if-let-rescopeDing Xiang Fei-2/+5
2024-12-01Fixed typos by changing `happend` to `happened`HomelikeBrick42-3/+3
2024-11-28Replace `Symbol::intern` calls with preinterned symbolsclubby789-1/+1
2024-11-28Implement lint against `Symbol::intern` on a string literalclubby789-2/+43
2024-11-28Rollup merge of #133487 - pitaj:reserve-guarded-strings, r=fee1-deadGuillaume Gomez-2/+16
2024-11-27Avoid even more decoding if not absolutely necessaryUrgau-2/+2
2024-11-26Avoid decoding from metadata if not necessaryUrgau-1/+1
2024-11-25fix confusing diagnostic for reserved `##`Peter Jaszkowiak-2/+16
2024-11-25Refactor `where` predicates, and reserve for attributes supportFrank King-19/+19
2024-11-24add guard pattern AST nodeMax Niederman-1/+1
2024-11-23no more Reveal :(lcnr-2/+0
2024-11-21Rollup merge of #133153 - maxcabrajac:flat_maps, r=petrochenkovMatthias Krüger-8/+9
2024-11-20Itemsmaxcabrajac-8/+9
2024-11-20Auto merge of #131326 - dingxiangfei2009:issue-130836-attempt-2, r=nikomatsakisbors-314/+0
2024-11-20reduce false positives of tail-expr-drop-order from consumed valuesDing Xiang Fei-314/+0
2024-11-20Auto merge of #133234 - jhpratt:rollup-42dmg4p, r=jhprattbors-24/+25
2024-11-20Rollup merge of #133108 - RalfJung:future-compat-needs-to-run, r=lcnrJacob Pratt-10/+12
2024-11-20Rollup merge of #132732 - gavincrawford:as_ptr_attribute, r=UrgauJacob Pratt-14/+13
2024-11-19Add external macro specific diagnostic to check-cfgUrgau-12/+93
2024-11-19Disable most Cargo check-cfg help in external macrosUrgau-3/+10
2024-11-19lints_that_dont_need_to_run: never skip future-compat-reported lintsRalf Jung-10/+12
2024-11-19impl trait overcaptures, yeet ` TypingMode::from_param_env`lcnr-3/+3
2024-11-19move `fn is_item_raw` to `TypingEnv`lcnr-13/+11
2024-11-19Correct comments concerning updated dangling pointer lintgavincrawford-8/+5
2024-11-18use `TypingEnv` when no `infcx` is availablelcnr-66/+77
2024-11-15Rollup merge of #132956 - maxcabrajac:coroutine_kind, r=petrochenkovGuillaume Gomez-19/+4
2024-11-15Rollup merge of #132936 - surechen:fix_131989, r=NadrierilGuillaume Gomez-0/+9
2024-11-14Adding `BreakValue` to UnusedDelimsCtx to make `UnusedParens` and `UnusedBrac...surechen-1/+8
2024-11-12Change rustc_lintmaxcabrajac-19/+4
2024-11-12For expr `return (_ = 42);` unused_paren lint should not be triggeredsurechen-0/+2
2024-11-11Recurse into APITs in impl_trait_overcapturesMichael Goulet-1/+5
2024-11-11Update dangling pointer testsgavincrawford-3/+4
2024-11-11Check for #[rustc_as_ptr] attribute instead of searching for function namesgavincrawford-4/+5
2024-11-10Rollup merge of #132426 - Urgau:unreach_pub-super, r=petrochenkovMatthias Krüger-1/+20
2024-11-09Dont suggest use<APIT>Michael Goulet-1/+3
2024-11-09Suggest turning APITs into generics in opaque overcapturesMichael Goulet-36/+11
2024-11-07Rollup merge of #132095 - gechelberger:fix-131977, r=wesleywiserJubilee-8/+19
2024-11-07Remove unused intercrate dependenciesclubby789-1/+0
2024-11-06skip if-let-rescope lint unless requested by migrationDing Xiang Fei-6/+5
2024-11-05Rollup merge of #132637 - blyxyas:lint-less-passes, r=flip1995Matthias Krüger-0/+3
2024-11-05Do not filter empty passes & Make CTFE Clippy into lintless passblyxyas-0/+3
2024-11-04Prefer `pub(super)` in `unreachable_pub` lint suggestionUrgau-1/+20
2024-11-04ty::BrK -> ty::BoundRegionKind::KMichael Goulet-7/+7
2024-11-04ty::KContainer -> ty::AssocItemContainer::KMichael Goulet-2/+2