Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove priv from the language #13547

Merged
merged 3 commits into from
Apr 16, 2014
Merged

Remove priv from the language #13547

merged 3 commits into from
Apr 16, 2014

Commits on Apr 16, 2014

  1. Remove usage of private enum variants

    This replaces all uses of private enum variants with a struct that has
    one private field pointing at a private enum.
    
    RFC: 0006-remove-priv
    alexcrichton committed Apr 16, 2014
    Configuration menu
    Copy the full SHA
    83351fa View commit details
    Browse the repository at this point in the history
  2. rustc: Remove private enum variants

    This removes the `priv` keyword from the language and removes private enum
    variants as a result. The remaining use cases of private enum variants were all
    updated to be a struct with one private field that is a private enum.
    
    RFC: 0006-remove-priv
    
    Closes rust-lang#13535
    alexcrichton committed Apr 16, 2014
    Configuration menu
    Copy the full SHA
    5cfbc0e View commit details
    Browse the repository at this point in the history
  3. syntax: Demote priv to a reserved keyword

    It is no longer used in rust anywhere.
    
    RFC: 0006-remove-priv
    alexcrichton committed Apr 16, 2014
    5 Configuration menu
    Copy the full SHA
    a0347d5 View commit details
    Browse the repository at this point in the history