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 9 pull requests #70994

Merged
merged 20 commits into from
Apr 10, 2020
Merged

Rollup of 9 pull requests #70994

merged 20 commits into from
Apr 10, 2020

Commits on Apr 8, 2020

  1. Use PredicateObligations instead of Predicates

    Keep more information about trait binding failures.
    estebank committed Apr 8, 2020
    Configuration menu
    Copy the full SHA
    bd7ea54 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d605a9d View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2020

  1. Configuration menu
    Copy the full SHA
    607315b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    de39a4f View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2020

  1. Configuration menu
    Copy the full SHA
    0fc0f34 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b973cb7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4ade06b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1d01ce2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    dc4c3e9 View commit details
    Browse the repository at this point in the history
  6. Add ThreadSanitizer test case

    tmiasko committed Apr 10, 2020
    Configuration menu
    Copy the full SHA
    688697d View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    c728c75 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#69745 - estebank:predicate-obligations-3, r…

    …=nikomatsakis,eddyb
    
    Use `PredicateObligation`s instead of `Predicate`s
    
    Keep more information about trait binding failures. Use more specific spans by pointing at bindings that introduce obligations.
    
    Subset of rust-lang#69709.
    
    r? @eddyb
    Centril committed Apr 10, 2020
    Configuration menu
    Copy the full SHA
    1fe86f4 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#70938 - tmiasko:thread-test-case, r=hanna-k…

    …ruppe
    
    Add ThreadSanitizer test case
    Centril committed Apr 10, 2020
    Configuration menu
    Copy the full SHA
    6b2df46 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#70973 - ecstatic-morse:recursion-lint, r=jo…

    …nas-schievink
    
    Use forward traversal for unconditional recursion lint
    
    While reviewing rust-lang#70822, I noted that rust-lang#54444 could be solved without requiring the predecessor graph and without allocating a `Vec<Span>` for every basic block. The unconditional recursion lint is not a performance bottleneck however, so I approved rust-lang#70822 as it was.
    
    Nevertheless, I wanted to try implementing my idea using `TriColorDepthFirstSearch`, which is a DFS that can differentiate between [forward/tree edges and backward ones](https://en.wikipedia.org/wiki/Depth-first_search#Output_of_a_depth-first_search). I found this approach more straightforward than the existing one, so I'm opening this PR to see if it is desirable.
    
    The pass is now just a DFS across the control-flow graph. We ignore false edges and false unwinds, as well as the successors of recursive calls, just like existing pass does. If we see a back-edge (loop) or a terminator that would cause us to yield control-flow back to the caller (`Return`, `Resume`, etc.), we know that the function does not unconditionally recurse.
    
    r? @jonas-schievink
    Centril committed Apr 10, 2020
    Configuration menu
    Copy the full SHA
    0d89287 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#70978 - RalfJung:compiletest-flags, r=Mark-…

    …Simulacrum
    
    compiletest: let config flags overwrite -A unused
    
    Cc Manishearth/compiletest-rs#216
    Centril committed Apr 10, 2020
    Configuration menu
    Copy the full SHA
    a5e06f2 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#70979 - ssomers:btreemap_the_alice_merton_v…

    …ariations, r=Amanieu
    
    Follow up on BTreeMap comments
    
    r? @Amanieu (for the first commit)
    Centril committed Apr 10, 2020
    Configuration menu
    Copy the full SHA
    277ce9e View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#70981 - ssomers:btreemap_into_into_iter, r=…

    …Mark-Simulacrum
    
    Rearrange BTreeMap::into_iter to match range_mut.
    
    r? @Mark-Simulacrum
    I wondered why you catered for the optional root differently in `into_iter` than in `range_mut`.
    Centril committed Apr 10, 2020
    Configuration menu
    Copy the full SHA
    f699a55 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#70985 - GuillaumeGomez:cleanup-e0512, r=Dyl…

    …an-DPC
    
    Clean up E0512 explanation
    
    r? @Dylan-DPC
    Centril committed Apr 10, 2020
    Configuration menu
    Copy the full SHA
    d36991a View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#70988 - LeSeulArtichaut:triagebot-prioritiz…

    …e, r=Mark-Simulacrum
    
    Setup the `@rustbot prioritize` command
    
    See rust-lang/triagebot#453
    
    r? @Mark-Simulacrum can you confirm that the `t-compiler/wg-prioritization` stream ID is `227806`?
    cc @spastorino
    Centril committed Apr 10, 2020
    Configuration menu
    Copy the full SHA
    6dc77f5 View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#70991 - longfangsong:master, r=jonas-schievink

    fix rustc-dev-guide's url in src/librustc_codegen_ssa
    
    Change the backend-agnostic chapter's url in rustc-dev-guide from [url](https://rustc-dev-guide.rust-lang.org/codegen/backend-agnostic.html), which is 404 now, to [the right one](https://rustc-dev-guide.rust-lang.org/backend/backend-agnostic.html).
    
    Sorry for disturbing.
    Centril committed Apr 10, 2020
    Configuration menu
    Copy the full SHA
    178aa6a View commit details
    Browse the repository at this point in the history