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

Closed
wants to merge 50 commits into from
Closed

Commits on Jan 9, 2020

  1. Configuration menu
    Copy the full SHA
    f79ba85 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f45758c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    69bacd0 View commit details
    Browse the repository at this point in the history
  4. Fix ICE rust-lang#68058

    JohnTitor committed Jan 9, 2020
    Configuration menu
    Copy the full SHA
    54f8601 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2020

  1. Configuration menu
    Copy the full SHA
    a59abfa View commit details
    Browse the repository at this point in the history
  2. 1 Configuration menu
    Copy the full SHA
    1688719 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2508f17 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    32fe477 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6aa4b5a View commit details
    Browse the repository at this point in the history
  6. Remove StaticKind::Promoted

    spastorino authored and oli-obk committed Jan 10, 2020
    Configuration menu
    Copy the full SHA
    6f2c702 View commit details
    Browse the repository at this point in the history
  7. Remove StaticKind

    spastorino authored and oli-obk committed Jan 10, 2020
    Configuration menu
    Copy the full SHA
    b63597d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    fb2f0ec View commit details
    Browse the repository at this point in the history
  9. Remove unused param_env parameter

    spastorino authored and oli-obk committed Jan 10, 2020
    Configuration menu
    Copy the full SHA
    9e70c47 View commit details
    Browse the repository at this point in the history
  10. Remove Static from PlaceBase

    spastorino authored and oli-obk committed Jan 10, 2020
    Configuration menu
    Copy the full SHA
    fd5aa32 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    5d9b399 View commit details
    Browse the repository at this point in the history
  12. Fix print const on librustdoc

    spastorino authored and oli-obk committed Jan 10, 2020
    Configuration menu
    Copy the full SHA
    a9de4f1 View commit details
    Browse the repository at this point in the history
  13. No need to use local.into here

    spastorino authored and oli-obk committed Jan 10, 2020
    Configuration menu
    Copy the full SHA
    7f3459a View commit details
    Browse the repository at this point in the history
  14. Use re_erased instead of re_static

    spastorino authored and oli-obk committed Jan 10, 2020
    Configuration menu
    Copy the full SHA
    a5715a3 View commit details
    Browse the repository at this point in the history
  15. Make Place Copy

    spastorino authored and oli-obk committed Jan 10, 2020
    Configuration menu
    Copy the full SHA
    8533caa View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    1565612 View commit details
    Browse the repository at this point in the history
  17. Do not store lint_root

    spastorino authored and oli-obk committed Jan 10, 2020
    Configuration menu
    Copy the full SHA
    36b1756 View commit details
    Browse the repository at this point in the history
  18. Promoteds also need param envs.

    This also allows us to use the `const_eval` query again without causing cycles
    oli-obk committed Jan 10, 2020
    Configuration menu
    Copy the full SHA
    6e1bbff View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    ecd5852 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    050146f View commit details
    Browse the repository at this point in the history
  21. Remove an outdated comment

    oli-obk committed Jan 10, 2020
    Configuration menu
    Copy the full SHA
    43313d5 View commit details
    Browse the repository at this point in the history
  22. Rebase fallout

    oli-obk committed Jan 10, 2020
    Configuration menu
    Copy the full SHA
    a5d8ab7 View commit details
    Browse the repository at this point in the history
  23. Improve E0185 wording

    GuillaumeGomez authored Jan 10, 2020
    Configuration menu
    Copy the full SHA
    c899f67 View commit details
    Browse the repository at this point in the history
  24. Update E0185.md

    Dylan-DPC authored Jan 10, 2020
    Configuration menu
    Copy the full SHA
    4fadb50 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    f3ce144 View commit details
    Browse the repository at this point in the history
  26. Fix a deadlock

    Zoxc committed Jan 10, 2020
    Configuration menu
    Copy the full SHA
    4beeadd View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    51a73eb View commit details
    Browse the repository at this point in the history
  28. Add a comment

    Zoxc committed Jan 10, 2020
    Configuration menu
    Copy the full SHA
    4a64716 View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2020

  1. Configuration menu
    Copy the full SHA
    48cad46 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8f1df30 View commit details
    Browse the repository at this point in the history
  3. Remove unnecessary const_fn feature gates

    This flag opts out of the min-const-fn checks entirely, which is usually
    not what we want. The few cases where the flag is still necessary have
    been annotated.
    ecstatic-morse committed Jan 11, 2020
    Configuration menu
    Copy the full SHA
    09b5c85 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1d418a1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a5f4239 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c2c2d3b View commit details
    Browse the repository at this point in the history
  7. Expand comment

    Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
    ecstatic-morse and Centril authored Jan 11, 2020
    Configuration menu
    Copy the full SHA
    fc30825 View commit details
    Browse the repository at this point in the history
  8. Ban ...X pats, harden tests, and improve diagnostics.

    Also fix a bug with the span passed in `mk_range`.
    Centril committed Jan 11, 2020
    Configuration menu
    Copy the full SHA
    883932c View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    8e35c4f View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#67000 - spastorino:remove-promoted-from-pla…

    …ce, r=oli-obk
    
    Promote references to constants instead of statics
    
    r? @oli-obk
    Centril authored Jan 11, 2020
    Configuration menu
    Copy the full SHA
    020c465 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    f5077d7 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#67889 - Zoxc:parallel-cgus, r=michaelwoerister

    Compile some CGUs in parallel at the start of codegen
    
    This brings the compilation time for `syntex_syntax` from 11.542s to 10.453s with 6 threads in non-incremental debug mode. Just compiling `n` CGUs in parallel at the beginning of codegen seems sufficient to get rid of the staircase effect, at least for `syntex_syntax`.
    
    Based on rust-lang#67777.
    
    r? @michaelwoerister
    cc @alexcrichton @Mark-Simulacrum
    Centril authored Jan 11, 2020
    Configuration menu
    Copy the full SHA
    72bf6f4 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#67930 - lzutao:result-as_deref, r=dtolnay

    Rename Result::as_deref_ok to as_deref
    
    Addresses rust-lang#50264 (comment)
    r? @dtolnay
    Centril authored Jan 11, 2020
    Configuration menu
    Copy the full SHA
    1691ee2 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#68018 - petrochenkov:nosoft, r=Centril

    feature_gate: Remove `GateStrength`
    
    The "soft feature gating" from `feature_gate/check.rs` is unused, and even if it were used, hardcoded warning is not a good solution and [deny-by-default lint](rust-lang#64266) would be a better way to do this.
    
    cc rust-lang#67806 (comment)
    r? @Centril
    Centril authored Jan 11, 2020
    Configuration menu
    Copy the full SHA
    71a719c View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#68070 - GuillaumeGomez:clean-up-e0185, r=Dy…

    …lan-DPC
    
    clean up E0185 explanation
    
    r? @Dylan-DPC
    Centril authored Jan 11, 2020
    Configuration menu
    Copy the full SHA
    b2027df View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    544c981 View commit details
    Browse the repository at this point in the history
  17. Rollup merge of rust-lang#68114 - ecstatic-morse:fix-feature-gating, …

    …r=Centril
    
    Don't require `allow_internal_unstable` unless `staged_api` is enabled.
    
    rust-lang#63770 changed `qualify_min_const_fn` to require `allow_internal_unstable` for *all* crates that used an unstable feature, regardless of whether `staged_api` was enabled or the `fn` that used that feature was stably const. In practice, this meant that every crate in the ecosystem that wanted to use nightly features added `#![feature(const_fn)]`, which skips `qualify_min_const_fn` entirely.
    
    After this PR, crates that do not have `#![feature(staged_api)]` will only need to enable the feature they are interested in. For example, `#![feature(const_if_match)]` will be enough to enable `if` and `match` in constants. Crates with `staged_api` (e.g., `libstd`) require `#[allow_internal_unstable]` to be added to a function if it uses nightly features unless that function is also marked `#[rustc_const_unstable]`. This prevents proliferation of `#[allow_internal_unstable]` into functions that are not callable in a `const` context on stable.
    
    r? @oli-obk (author of rust-lang#63770)
    cc @Centril
    Centril authored Jan 11, 2020
    Configuration menu
    Copy the full SHA
    b00abbe View commit details
    Browse the repository at this point in the history
  18. Rollup merge of rust-lang#68120 - Centril:ban-range-to-dotdotdot, r=o…

    …li-obk
    
    Ban `...X` pats, harden tests, and improve diagnostics
    
    Follow up to rust-lang#67258 (comment) and rust-lang#67258 (comment).
    
    r? @cramertj @oli-obk
    Centril authored Jan 11, 2020
    Configuration menu
    Copy the full SHA
    b8f6eb9 View commit details
    Browse the repository at this point in the history