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 5 pull requests #61527

Merged
merged 12 commits into from
Jun 5, 2019
Merged

Rollup of 5 pull requests #61527

merged 12 commits into from
Jun 5, 2019

Commits on May 23, 2019

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

Commits on Jun 3, 2019

  1. Configuration menu
    Copy the full SHA
    2751b86 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    794239d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    288202e View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2019

  1. Add regression test

    estebank committed Jun 4, 2019
    Configuration menu
    Copy the full SHA
    5716e26 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f60b5f1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7980bc4 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#61069 - Zoxc:drop-borrow-fix, r=pnkfelix

    Make MIR drop terminators borrow the dropped location
    
    r? @eddyb
    cc @tmandry
    pietroalbini committed Jun 4, 2019
    Configuration menu
    Copy the full SHA
    93271d1 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#61453 - lzutao:nouse-featuregate-integer_at…

    …omics, r=sfackler
    
    Remove unneeded feature attr from atomic integers doctests
    
    Closes rust-lang#61448
    
    r? @Centril
    pietroalbini committed Jun 4, 2019
    Configuration menu
    Copy the full SHA
    98176fc View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#61488 - matthewjasper:fix-nll-typeck-ices, …

    …r=pnkfelix
    
    Fix NLL typeck ICEs
    
    * Don't ICE when a type containing a region is constrained by nothing
    * Don't ICE trying to normalize a type in a `ParamEnv` containing global bounds.
    
    To explain what was happening in the `issue-61311-normalize.rs` case:
    
    * When borrow checking the `the_fn` in the last `impl` we would try to normalize `Self::Proj` (`<Unit as HasProjFn>::Proj`).
    * We would find the `impl` that we're checking and and check its `where` clause.
    * This would need us to check `<Box<dyn Obj + 'static> as HasProj>::Proj: Bound`
    * We find two possible implementations, the blanket impl and the bound in our `ParamEnv`.
    * The bound in our `ParamEnv` was canonicalized, so we don't see it as a global bound. As such we prefer it to the `impl`.
    * This means that we cannot normalize `<Box<dyn Obj + 'static> as HasProj>::Proj` to `Unit`.
    * The `<Box<dyn Obj + 'static> as HasProj>::Proj: Bound` bound, which looks like it should be in our `ParamEnv` has been normalized to `Unit: Bound`.
    * We fail to prove `<Box<dyn Obj + 'static> as HasProj>::Proj: Bound`.
    * We ICE, since we believe typeck have errored.
    
    Closes rust-lang#61311
    Closes rust-lang#61315
    Closes rust-lang#61320
    
    r? @pnkfelix
    cc @nikomatsakis
    pietroalbini committed Jun 4, 2019
    Configuration menu
    Copy the full SHA
    d5643be View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    4634412 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#61523 - Nemo157:hide-gen-future, r=cramertj

    Hide gen_future API from documentation
    
    This is internal rustc only API which should never be used outside code created by the current `async` transform, if it is used then the panic messages don't make sense as they're written from the perspective of that meaning there is a bug in the `async` transform (e.g. rust-lang#61482).
    pietroalbini committed Jun 4, 2019
    Configuration menu
    Copy the full SHA
    e83dceb View commit details
    Browse the repository at this point in the history