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 #81035

Merged
merged 10 commits into from
Jan 15, 2021
Merged

Rollup of 5 pull requests #81035

merged 10 commits into from
Jan 15, 2021

Commits on Dec 21, 2020

  1. Don't try to add nested predicate to Rustdoc auto-trait ParamEnv

    Fixes rust-lang#80233
    
    We already have logic in `evaluate_predicates` that tries to add
    unimplemented predicates to our `ParamEnv`. Trying to add a predicate
    that already holds can lead to errors later on, since projection
    will prefer trait candidates from the `ParamEnv` to predicates from an
    impl.
    Aaron1011 committed Dec 21, 2020
    Configuration menu
    Copy the full SHA
    f2d7c05 View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2021

  1. Configuration menu
    Copy the full SHA
    5ea1d0e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a56bffb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    744f885 View commit details
    Browse the repository at this point in the history
  4. Remove doctree::Variant

    CraftSpider committed Jan 14, 2021
    Configuration menu
    Copy the full SHA
    c54678a View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2021

  1. Rollup merge of rust-lang#80254 - Aaron1011:rustdoc-auto-param-env, r…

    …=estebank
    
    Don't try to add nested predicate to Rustdoc auto-trait `ParamEnv`
    
    Fixes rust-lang#80233
    
    We already have logic in `evaluate_predicates` that tries to add
    unimplemented predicates to our `ParamEnv`. Trying to add a predicate
    that already holds can lead to errors later on, since projection
    will prefer trait candidates from the `ParamEnv` to predicates from an
    impl.
    JohnTitor authored Jan 15, 2021
    Configuration menu
    Copy the full SHA
    0dedc6c View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#80834 - bugadani:vecdeque, r=oli-obk

    Remove unreachable panics from VecDeque::{front/back}[_mut]
    
    `VecDeque`'s `front`, `front_mut`, `back` and `back_mut` methods are implemented in terms of the index operator, which causes these functions to contain [unreachable panic calls](https://rust.godbolt.org/z/MTnq1o).
    
    This PR reimplements these methods in terms of `get[_mut]` instead.
    JohnTitor authored Jan 15, 2021
    Configuration menu
    Copy the full SHA
    1b8fd02 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#80944 - LingMan:map_or, r=nagisa

    Use Option::map_or instead of `.map(..).unwrap_or(..)`
    
    ``@rustbot`` modify labels +C-cleanup +T-compiler
    JohnTitor authored Jan 15, 2021
    Configuration menu
    Copy the full SHA
    a584d87 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#81008 - tmiasko:generator-layout-err, r=tma…

    …ndry
    
    Don't ICE when computing a layout of a generator tainted by errors
    
    Fixes rust-lang#80998.
    JohnTitor authored Jan 15, 2021
    Configuration menu
    Copy the full SHA
    ce06df2 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#81023 - CraftSpider:rustdoc-remove-variant,…

    … r=jyn514
    
    Remove doctree::Variant
    
    This was easy, probably was missed when whatever used it was removed
    JohnTitor authored Jan 15, 2021
    Configuration menu
    Copy the full SHA
    7286be1 View commit details
    Browse the repository at this point in the history