about summary refs log tree commit diff
path: root/tests/ui/privacy
AgeCommit message (Expand)AuthorLines
2024-06-04bless privacy tests (only diagnostic duplication)Oli Scherer-1/+13
2024-05-22Add some tests for public-private dependencies.Eric Huss-9/+360
2024-05-21Make early lints translatableXiretza-2/+2
2024-04-12Rollup merge of #123841 - Kohei316:remove_qualifier_sugg, r=wesleywiserMatthias Krüger-29/+29
2024-04-12Improve diagnostic by suggesting to remove visibility qualifiermorine0122-29/+29
2024-04-08Rollup merge of #120144 - petrochenkov:unty, r=davidtwcoMatthias Krüger-5/+4
2024-04-04Only inspect user-written predicates for privacy concernsOli Scherer-11/+6
2024-04-04Add regression testOli Scherer-0/+43
2024-03-24Rollup merge of #122757 - h1467792822:priv-dep, r=davidtwcoMatthias Krüger-0/+20
2024-03-24add issue numbers via // issue: rust-lang/rust#ISSUE_NUM directiveMatthias Krüger-0/+1
2024-03-24add test for #64784 Declarative macros can create infinite glob import cyclesMatthias Krüger-0/+15
2024-03-23Auto merge of #119552 - krtab:dead_code_priv_mod_pub_field, r=cjgillot,saethlinbors-2/+2
2024-03-20Fixed the `private-dependency` bug: If the directly dependent crate is loaded...h1467792822-0/+20
2024-03-18When displaying multispans, ignore empty lines adjacent to `...`Esteban Küber-1/+0
2024-03-13privacy: Stabilize lint `unnameable_types`Vadim Petrochenkov-5/+4
2024-03-12Allow unused fields in some testsArthur Carcano-2/+2
2024-03-11Update test directives for `wasm32-wasip1`Alex Crichton-1/+0
2024-02-25Auto merge of #120393 - Urgau:rfc3373-non-local-defs, r=WaffleLapkinbors-5/+6
2024-02-23Allow for a missing `adt_def` in `NamePrivacyVisitor`.Nicholas Nethercote-0/+15
2024-02-17Allow newly added non_local_definitions lint in testsUrgau-5/+6
2024-02-16[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives许杰友 Jieyou Xu (Joe)-85/+85
2024-02-09Move some testsCaio-0/+26
2024-02-08Add some tests for associated type normalization edge casesOli Scherer-0/+194
2024-02-07Stop using `hir_ty_to_ty` in rustc_privacyOli Scherer-19/+50
2024-02-07Update testsr0cky-2/+4
2024-01-24privacy: Refactor top-level visiting in `TypePrivacyVisitor`Vadim Petrochenkov-3/+16
2024-01-04fallback visibility for unexpected trait itembohan-0/+40
2023-12-20resolve: Stop feeding visibilities for import list stemsVadim Petrochenkov-0/+14
2023-12-19resolve: Feed visibilities for unresolved trait impl itemsVadim Petrochenkov-0/+37
2023-12-08privacy: visit trait def id of projectionsDavid Wood-13/+82
2023-12-04Structured `use` suggestion on privacy errorEsteban Küber-1/+1
2023-12-01vis note for no pub reexports glob importbohan-4/+30
2023-11-29Tweak message on ADT with private fields buildingEsteban Küber-3/+3
2023-11-24Show number in error message even for one errorNilstrieb-26/+26
2023-11-19Account for number of arguments in suggestionEsteban Küber-15/+15
2023-11-19Suggest Default::default() for struct literals with private fieldsEsteban Küber-0/+8
2023-11-19Suggest builder functions on struct literal with private fieldsEsteban Küber-1/+41
2023-11-19Suggest using builder on curly brace struct called as fnEsteban Küber-7/+33
2023-11-19On private tuple struct, suggest `Default::default` when possibleEsteban Küber-0/+4
2023-11-19When encountering struct fn call literal with private fields, suggest all bui...Esteban Küber-18/+9
2023-10-27When encountering sealed traits, point types that implement itEsteban Küber-7/+77
2023-10-27Auto merge of #116858 - estebank:issue-22488, r=petrochenkovbors-0/+50
2023-10-26Suggest assoc fn `new` when trying to build tuple struct with private fieldsEsteban Küber-0/+50
2023-10-25Auto merge of #117076 - oli-obk:privacy_visitor_types, r=petrochenkovbors-17/+17
2023-10-23Merge associated types with the other alias typesOli Scherer-17/+17
2023-10-22use visibility to check unused imports and delete some stmtsbohan-9/+45
2023-10-09Extend impl's def_span to include where clausesMichael Goulet-6/+12
2023-10-05Add a note to duplicate diagnosticsAlex Macleod-0/+7
2023-09-07Lint node for PRIVATE_BOUNDS is the item which has the boundsMichael Goulet-0/+7
2023-09-06Rollup merge of #115578 - ouz-a:rustc_clarify, r=oli-obkMatthias Krüger-4/+4