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 7 pull requests #66944

Merged
merged 24 commits into from
Dec 2, 2019
Merged

Rollup of 7 pull requests #66944

merged 24 commits into from
Dec 2, 2019

Commits on Nov 24, 2019

  1. Configuration menu
    Copy the full SHA
    8f158bc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3a2da71 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    aff7942 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cdfb5cb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    be18a22 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2019

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

Commits on Nov 29, 2019

  1. Configuration menu
    Copy the full SHA
    30a9978 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    78d85fc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a9976d8 View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2019

  1. Configuration menu
    Copy the full SHA
    d86d5ab View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9034efe View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2019

  1. Configuration menu
    Copy the full SHA
    4b81dd4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    55ba05b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    db357a6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cf1ffb0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2799378 View commit details
    Browse the repository at this point in the history
  6. rustc_plugin: Some further cleanup

    Remove a useless test
    petrochenkov committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    e5944a5 View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2019

  1. Rollup merge of rust-lang#66346 - linkmauve:try-in-docstring, r=Dylan…

    …-DPC
    
    Replace .unwrap() with ? in std::os::unix::net
    
    As people like to copy examples, this gives them good habits.
    Centril authored Dec 2, 2019
    Configuration menu
    Copy the full SHA
    a279ebb View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#66789 - eddyb:mir-source-scope-local-data, …

    …r=oli-obk
    
    rustc: move mir::SourceScopeLocalData to a field of SourceScopeData.
    
    By having one `ClearCrossCrate<SourceScopeLocalData>` for each scope, as opposed to a single `ClearCrossCrate` for all the `SourceScopeLocalData`s, we can represent the fact that some scopes have `SourceScopeLocalData` associated with them, and some don't.
    
    This is useful when doing MIR inlining across crates, because the `ClearCrossCrate` will be `Clear` for the cross-crate MIR scopes and `Set` for the local ones.
    
    Also see rust-lang#66203 (comment) for some context around this approach.
    
    Fixes rust-lang#51314.
    Centril authored Dec 2, 2019
    Configuration menu
    Copy the full SHA
    fd09fad View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#66850 - eddyb:span-free-formats, r=oli-obk

    rustc: hide HirId's fmt::Debug output from -Z span_free_formats.
    
    This replaces the only occurrences of `HirId {...}` from tests with paths, i.e.:
    ```rust
    [closure@HirId { owner: DefIndex(4), local_id: 15 } q:&i32, t:&T]
    ```
    becomes, after this PR:
    ```rust
    [closure@foo<T>::{{closure}}#0 q:&i32, t:&T]
    ```
    
    r? @oli-obk cc @michaelwoerister
    Centril authored Dec 2, 2019
    Configuration menu
    Copy the full SHA
    dbe880e View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#66905 - petrochenkov:rmplugin2, r=Centril

    rustc_plugin: Remove some remaining plugin features
    
    - Plugin arguments (`#![plugin(my_plugin(args))]`) are no longer supported.
    - Registering additional plugins from command line (`-Z extra-plugins=my_plugin`) is no longer supported, `-Z crate-attr=plugin(my_plugin)` can be used instead.
    - Lint `plugin_as_library` is removed as mostly useless now, when plugins exist as a compatibility feature with greatly reduced functionality.
    - Plugins registering additional LLVM passes (`Registry::register_llvm_pass`) are no longer supported, `-C                   passes=my_passes` can be used instead.
    
    r? @Centril
    Centril authored Dec 2, 2019
    Configuration menu
    Copy the full SHA
    90ac082 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#66907 - eddyb:br-nicer-named, r=oli-obk

    rustc: don't just show raw DefIndex's in BrNamed's fmt::Debug impl.
    
    Context: these `fmt::Debug` impls only get used with `-Z verbose` (which some tests use).
    
    I was going to print the path like in rust-lang#66850 (or rather, use `DefId`'s `fmt::Debug`, which is close but not as nice), but then I realized that most of the `DefId`s were `crate0:DefIndex(0)`, i.e. the crate root.
    As the crate root is not a lifetime, they're clearly dummies of some sort, and we don't have to print anything other than the name for them.
    
    This means that out of all the tests, there's only 5 instances of `BrNamed` that now print the full path to the lifetime parameter, and everything else is shorter instead, which doesn't feel too bad.
    
    cc @nikomatsakis
    Centril authored Dec 2, 2019
    Configuration menu
    Copy the full SHA
    319064f View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#66918 - makotokato:aarch32-crc-crypto, r=pe…

    …trochenkov
    
    Add crc and crypto to target feature whitelist on arm
    
    aarch32 (ARMv8 32-bit) supports crc and crypto.
    Centril authored Dec 2, 2019
    Configuration menu
    Copy the full SHA
    427e369 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#66926 - RalfJung:miri-stop, r=oli-obk

    add reusable MachineStop variant to Miri engine error enum
    
    Replace the Miri-tool-specific `Exit` error variant with something dynamically typed that all clients of the Miri engine can use.
    
    r? @oli-obk
    Cc rust-lang#66902
    Centril authored Dec 2, 2019
    Configuration menu
    Copy the full SHA
    cd47551 View commit details
    Browse the repository at this point in the history