about summary refs log tree commit diff
path: root/tests/ui/lint
AgeCommit message (Expand)AuthorLines
2024-05-29 Let lint_forgetting_references give the suggestion if possiblesurechen-20/+345
2024-05-29 Let lint_forgetting_copy_types give the suggestion if possible.surechen-3/+108
2024-05-29Let lint_dropping_references give the suggestion if possible.surechen-10/+231
2024-05-29Auto merge of #125433 - surechen:fix_125189, r=Urgaubors-4/+126
2024-05-28Create const block DefIds in typeck instead of ast loweringOli Scherer-12/+7
2024-05-27non_local_defs: point the parent item when appropriateUrgau-472/+308
2024-05-27non_local_defs: point to Self and Trait to give more contextUrgau-62/+221
2024-05-27non_local_defs: suggest removing leading ref/ptr to make the impl localUrgau-3/+9
2024-05-27non_local_defs: improve main without a trait noteUrgau-7/+7
2024-05-27non_local_defs: be more precise about what needs to be movedUrgau-223/+128
2024-05-27non_local_defs: improve exception note for impl and macro_rules!Urgau-9/+5
2024-05-27non_local_defs: use labels to indicate what may need to be movedUrgau-56/+568
2024-05-27non_local_defs: use span of the impl def and not the impl blockUrgau-179/+78
2024-05-27non_local_defs: improve some notes around trait, bounds, constsUrgau-113/+111
2024-05-27non_local_defs: switch to more friendly primary messageUrgau-60/+60
2024-05-24A small diagnostic improvement for dropping_copy_typessurechen-4/+126
2024-04-15Use the rustc_private libc less in testsBen Kimock-64/+60
2024-04-11Silence unused_imports lint for redundant importsMichael Goulet-158/+20
2024-04-10skip `unused_parens`'s suggestion for `Paren` in macro.surechen-0/+79
2024-04-09Rollup merge of #123653 - Urgau:split-test-non_local_defs, r=compiler-errorsGuillaume Gomez-1196/+1375
2024-04-09Split `non_local_definitions` lint tests in separate test filesUrgau-1196/+1375
2024-04-07Unify all the always-false cfgs under the `FALSE` cfgUrgau-1/+1
2024-04-05Put non_local_definitions lint back to warn-by-defaultUrgau-61/+56
2024-04-05Update non-local impl definition lint rule noteUrgau-51/+51
2024-04-05Eliminate false-positives in the non-local lint with the type-systemUrgau-29/+158
2024-04-03rename `expose_addr` to `expose_provenance`joboet-4/+4
2024-04-02Rollup merge of #122935 - RalfJung:with-exposed-provenance, r=AmanieuJacob Pratt-1/+1
2024-03-29Add support for NonNull in ambiguous_wide_ptr_comparisionsUrgau-51/+96
2024-03-29Add detection of [Partial]Ord methods to the ambiguous wide ptr cmp lintUrgau-53/+209
2024-03-23rename ptr::from_exposed_addr -> ptr::with_exposed_provenanceRalf Jung-1/+1
2024-03-23Auto merge of #119552 - krtab:dead_code_priv_mod_pub_field, r=cjgillot,saethlinbors-0/+27
2024-03-21Auto merge of #121123 - compiler-errors:item-assumptions, r=oli-obkbors-0/+21
2024-03-20Split item bounds and item super predicatesMichael Goulet-0/+21
2024-03-20Ignore paths from expansion in `unused_qualifications`Alex Macleod-0/+2
2024-03-19Rollup merge of #122435 - jieyouxu:unused_qualifications_global_paths, r=petr...Matthias Krüger-25/+23
2024-03-18Detect allocator for box in must_not_suspend lintMichael Goulet-0/+52
2024-03-17Invoke decorate when error level is beyond warning, including error许杰友 Jieyou Xu (Joe)-14/+82
2024-03-17Only invoke `decorate` if the diag can eventually be emitted许杰友 Jieyou Xu (Joe)-0/+14
2024-03-17Auto merge of #121885 - reitermarkus:generic-nonzero-inner, r=oli-obk,wesleyw...bors-20/+10
2024-03-15Don't trigger `unused_qualifications` on global paths许杰友 Jieyou Xu (Joe)-25/+23
2024-03-14Fix lint.Markus Reiter-0/+7
2024-03-14fixes #121331surechen-18/+155
2024-03-12Replace visibility test with reachability test in dead code detectionArthur Carcano-0/+27
2024-03-11Make `DefiningAnchor::Bind` only store the opaque types that may be constrain...Oli Scherer-6/+13
2024-03-10Detect unused struct impls pub traitr0cky-4/+31
2024-03-10Fix lint.Markus Reiter-180/+7
2024-03-10Move generic `NonZero` `rustc_layout_scalar_valid_range_start` attribute to i...Markus Reiter-29/+185
2024-03-07Use was_invoked_from_cargo method instead of hand-written oneUrgau-1/+1
2024-03-07Add some weird test cases to the non_local_definitions lint testsUrgau-14/+56
2024-03-07Rollup merge of #122107 - Urgau:non_local_def-allow, r=WaffleLapkinMatthias Krüger-51/+56