Skip to content

Tracking issue for RFC #2145: Type privacy and private-in-public lints  #48054

Closed

Description

@aturon

This is a tracking issue for the RFC "Type privacy and private-in-public lints " (rust-lang/rfcs#2145).

Steps:

Unresolved questions:

  • It's not fully clear if the restriction for associated type definitions required for
    type privacy soundness, or it's just a workaround for a technical difficulty.

  • Interactions between macros 2.0 and the notions of reachability / effective
    visibility used for the lints are unclear.

Activity

  1. added
    B-RFC-approvedBlocker: Approved by a merged RFC but not yet implemented.
    T-langRelevant to the language team
    C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFC
    on Feb 7, 2018
  2. added a commit that references this issue on Dec 31, 2018
  3. self-assigned this
    on Feb 5, 2019
  4. Aaron1011 commented on Aug 24, 2019

    @Aaron1011
    Contributor

    @rustbot claim

  5. Aaron1011 commented on Aug 24, 2019

    @Aaron1011
    Contributor

    @petrochenkov: Oops - I didn't mean for that to un-assign you.

    Is there a way to prevent these lints from becoming insta-stable? Would it make sense to put them behind a feature gate?

  6. Aaron1011 commented on Aug 24, 2019

    @Aaron1011
    Contributor

    Perhaps we could only fire the lints if an unstable compiler flag (maybe -Z type-privacy-lints) is passed? This would still make the lint names insta-stable, though.

  7. 41 remaining items

  8. added a commit that references this issue on Sep 1, 2023
  9. petrochenkov commented on Jan 19, 2024

    @petrochenkov
    Contributor
  10. added a commit that references this issue on Apr 8, 2024
  11. added a commit that references this issue on Apr 8, 2024
  12. added
    A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.
    and removed
    A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.
    on Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.A-visibilityArea: Visibility / privacyB-RFC-approvedBlocker: Approved by a merged RFC but not yet implemented.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCS-tracking-design-concernsStatus: There are blocking design concerns.S-tracking-needs-summaryStatus: It's hard to tell what's been done and what hasn't! Someone should do some investigation.T-langRelevant to the language team

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions