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

Rollup of 6 pull requests #69226

Merged
merged 15 commits into from
Feb 17, 2020
Merged

Rollup of 6 pull requests #69226

merged 15 commits into from
Feb 17, 2020

Commits on Jan 23, 2020

  1. Updating str.chars docs to mention crates.io.

    This might spare someone else a little time searching the stdlib for unicode/grapheme support.
    thesoftwarephilosopher authored Jan 23, 2020
    Configuration menu
    Copy the full SHA
    ac19dff View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2020

  1. Configuration menu
    Copy the full SHA
    5c473a0 View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2020

  1. Configuration menu
    Copy the full SHA
    dcad07a View commit details
    Browse the repository at this point in the history
  2. Improve #Safety in various methods in core::ptr

    s/for reads and writes/for both ...
    amosonn committed Feb 15, 2020
    Configuration menu
    Copy the full SHA
    302b9e4 View commit details
    Browse the repository at this point in the history
  3. Improve #Safety of core::ptr::replace

    Added missing condition:
    `dst` must be readable
    amosonn committed Feb 15, 2020
    Configuration menu
    Copy the full SHA
    351782d View commit details
    Browse the repository at this point in the history
  4. Improve #Safety in various methods in core::ptr

    For all methods which read a value of type T, `read`, `read_unaligned`,
    `read_volatile` and `replace`, added missing
    constraint:
    The value they point to must be properly initialized
    amosonn committed Feb 15, 2020
    Configuration menu
    Copy the full SHA
    40ca167 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    cadf9ef View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2020

  1. Improve #Safety of core::ptr::drop_in_place

    Added missing conditions:
    - Valid for writes
    - Valid for destructing
    amosonn committed Feb 16, 2020
    Configuration menu
    Copy the full SHA
    943e653 View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2020

  1. Configuration menu
    Copy the full SHA
    eb12ed8 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#68495 - sdegutis:patch-1, r=Mark-Simulacrum

    Updating str.chars docs to mention crates.io.
    
    This might spare someone else a little time searching the stdlib for unicode/grapheme support.
    JohnTitor authored Feb 17, 2020
    Configuration menu
    Copy the full SHA
    5f818f9 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#68701 - amosonn:patch-2, r=RalfJung

    Improve #Safety of various methods in core::ptr
    
    For `read`, `read_unaligned`,`read_volatile`, `replace`, and `drop_in_place`:
    
    - The value they point to must be properly initialized
    
    For `replace`, additionally:
    
    - The pointer must be readable
    JohnTitor authored Feb 17, 2020
    Configuration menu
    Copy the full SHA
    c3fed9f View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#69158 - ecstatic-morse:graphviz-diff, r=mat…

    …thewjasper
    
    Don't print block exit state in dataflow graphviz if unchanged
    
    A small quality-of-life improvement I was using while working on rust-lang#68528. It's pretty common to have a lot of zero-statement basic blocks, especially before a `SimplifyCfg` pass is run. When the dataflow state was dense, these blocks could take up a lot of vertical space since the full flow state was printed on both entry and exit. After this PR, we only print a block's exit state if it differs from that block's entry state. Take a look at the two basic blocks on the left.
    
    Before:
    
    ![image](https://user-images.githubusercontent.com/29463364/74505395-e2d1dd00-4eab-11ea-8006-ec8f0dc9d1b6.png)
    
    After:
    ![image](https://user-images.githubusercontent.com/29463364/74505277-98506080-4eab-11ea-8d95-5190bc378331.png)
    JohnTitor authored Feb 17, 2020
    Configuration menu
    Copy the full SHA
    50ddda6 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#69179 - JohnTitor:rename-to-fnretty, r=Centril

    Rename `FunctionRetTy` to `FnRetTy`
    
    As per FIXME comment
    
    r? @Centril
    JohnTitor authored Feb 17, 2020
    Configuration menu
    Copy the full SHA
    5f0c593 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#69186 - petrochenkov:kwrules, r=Centril

    [tiny] parser: `macro_rules` is a weak keyword
    
    r? @Centril
    JohnTitor authored Feb 17, 2020
    Configuration menu
    Copy the full SHA
    3e7addc View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#69188 - GuillaumeGomez:clean-up-e0309, r=Dy…

    …lan-DPC
    
    Clean up E0309 explanation
    
    r? @Dylan-DPC
    JohnTitor authored Feb 17, 2020
    Configuration menu
    Copy the full SHA
    cc497c4 View commit details
    Browse the repository at this point in the history