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

Add a raw "address of" operator #64588

Merged
merged 8 commits into from
Dec 20, 2019
Merged

Commits on Dec 18, 2019

  1. Add Rvalue::AddressOf to MIR

    This operator creates a raw pointer to a Place directly, without first
    creating a reference. See RFC rust-lang#2582 for motivation.
    
    The Rvalue is currently unused.
    matthewjasper committed Dec 18, 2019
    Configuration menu
    Copy the full SHA
    3a19fbf View commit details
    Browse the repository at this point in the history
  2. Start generating AddressOf rvalues in MIR

    `hir::BorrowKind::Raw` borrows and casting a reference to a raw
    pointer no longer do a reborrow followed by a cast. Instead we
    dereference and take the address.
    matthewjasper committed Dec 18, 2019
    Configuration menu
    Copy the full SHA
    35919ac View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5fb797c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7081c79 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7b0cc6a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1593194 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6dcc789 View commit details
    Browse the repository at this point in the history
  8. Fix comment ordering

    matthewjasper committed Dec 18, 2019
    Configuration menu
    Copy the full SHA
    a749116 View commit details
    Browse the repository at this point in the history