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

Simplify memory categorization #66246

Merged
merged 5 commits into from
Nov 28, 2019
Merged

Commits on Nov 27, 2019

  1. Rename cmt_ to Place

    matthewjasper committed Nov 27, 2019
    Configuration menu
    Copy the full SHA
    4195b60 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a5b8a30 View commit details
    Browse the repository at this point in the history
  3. Simplify mem_categorization

    * `Place` is no longer recursive.
    * The `cmt` type alias is removed
    * `Upvar` places no longer include the dereferences of the environment
      closure or of by reference captures.
    * All non-dereference projections are combined to a single variant.
    * Various unnecessary types and methods have been removed.
    matthewjasper committed Nov 27, 2019
    Configuration menu
    Copy the full SHA
    1d53e43 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c87de41 View commit details
    Browse the repository at this point in the history
  5. Move ExprUseVisitor and mem_categorization to rustc_typeck

    `MemCategorizationContext` is now private, the remaining types and
    traits remain public for Clippy.
    matthewjasper committed Nov 27, 2019
    Configuration menu
    Copy the full SHA
    5bc1586 View commit details
    Browse the repository at this point in the history