about summary refs log tree commit diff
path: root/tests/ui/privacy
AgeCommit message (Expand)AuthorLines
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
2023-06-12Private-in-public lints implementationBryanskiy-20/+317
2023-06-08increase the accuracy of effective visibilities calculationBryanskiy-0/+47
2023-05-26fix for `Self` not respecting tuple Ctor privacyDeadbeef-0/+109
2023-04-21Leave it to the query system to invoke the typeck query instead of invoking i...Oli Scherer-14/+2
2023-04-12Special-case item attributes in the suggestion outputEsteban Küber-6/+0
2023-04-12Tweak output for 'add line' suggestionEsteban Küber-6/+12
2023-04-12Split out a separate feature gate for impl trait in associated typesOli Scherer-2/+2
2023-04-11Rollup merge of #109923 - ElectrifyPro:visibility, r=wesleywiserYuki Okushi-78/+114
2023-04-05Auto merge of #109437 - petrochenkov:effvisopt, r=davidtwcobors-6/+6
2023-04-03Update ui tests involving invalid visibility qualifiersTam Pham-78/+114
2023-04-02Move some UI tests into subdirectoriesjyn-0/+105
2023-03-31resolve: Restore some effective visibility optimizationsVadim Petrochenkov-6/+6
2023-03-28privacy: Support `#![rustc_effective_visibility]` on the crate rootVadim Petrochenkov-24/+37
2023-02-22diagnostics: update test cases to refer to assoc fn with `self` as methodMichael Howell-29/+29