about summary refs log tree commit diff
path: root/tests/ui/privacy
AgeCommit message (Expand)AuthorLines
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
2023-09-06make comments less crypticouz-a-4/+4
2023-09-01Auto merge of #113126 - Bryanskiy:delete_old, r=petrochenkovbors-782/+686
2023-08-05Fix a typo in the error reporting for sealed traits.kernelmethod-1/+1
2023-08-02Replace old private-in-public diagnostic with type privacy lintsBryanskiy-782/+686
2023-07-30Weaken unnameable_types lintBryanskiy-15/+3
2023-07-28privacy: no nominal visibility for assoc fnsDavid Wood-0/+195
2023-07-11typeck in parallelSparrowLii-5/+9
2023-06-29Fix type privacy lints error messageBryanskiy-57/+65
2023-06-29Rollup merge of #112670 - petrochenkov:typriv, r=eholkMatthias Krüger-6/+6
2023-06-22Tweak privacy errors to account for reachable itemsEsteban Küber-9/+127
2023-06-22Account for sealed traits in trait bound errorsEsteban Küber-0/+35
2023-06-15privacy: Do not mark items reachable farther than their nominal visibilityVadim Petrochenkov-2/+2
2023-06-15privacy: Feature gate new type privacy lintsVadim Petrochenkov-4/+4