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 8 pull requests #69919

Merged
merged 48 commits into from
Mar 11, 2020
Merged

Rollup of 8 pull requests #69919

merged 48 commits into from
Mar 11, 2020

Commits on Mar 1, 2020

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

Commits on Mar 2, 2020

  1. Configuration menu
    Copy the full SHA
    8858d71 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    10492c3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    15babed View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f1070b1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1c01646 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b646627 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2020

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

Commits on Mar 9, 2020

  1. Configuration menu
    Copy the full SHA
    1a9fc18 View commit details
    Browse the repository at this point in the history
  2. Improve readability

    RalfJung authored Mar 9, 2020
    Configuration menu
    Copy the full SHA
    51b60b7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f34e066 View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2020

  1. Configuration menu
    Copy the full SHA
    0982c58 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    259b06e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9f734c9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4922b68 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c60d581 View commit details
    Browse the repository at this point in the history
  6. Add long error explanation for E0739

    Ayush Kumar Mishra committed Mar 10, 2020
    Configuration menu
    Copy the full SHA
    6f2c01b View commit details
    Browse the repository at this point in the history
  7. Removed trailing whitespace

    Ayush Kumar Mishra committed Mar 10, 2020
    Configuration menu
    Copy the full SHA
    761c8c1 View commit details
    Browse the repository at this point in the history
  8. parse_labeled_expr: simplify

    Centril committed Mar 10, 2020
    Configuration menu
    Copy the full SHA
    9596dc2 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    c303c44 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    883e90d View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    8ee220c View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    055733f View commit details
    Browse the repository at this point in the history
  13. parse: simplify parse_fn_body

    Centril committed Mar 10, 2020
    Configuration menu
    Copy the full SHA
    379f318 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    be86b2d View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    addbc5b View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    fe848b4 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    e72df7e View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    83be689 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    65b7ba5 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    c01b3e6 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    09997e7 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    25cd01b View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    c0b073b View commit details
    Browse the repository at this point in the history
  24. use check_path more

    Centril committed Mar 10, 2020
    Configuration menu
    Copy the full SHA
    d1822b3 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    ba3ae46 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    458383d View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    0b2329d View commit details
    Browse the repository at this point in the history
  28. [Miri] Use a session variable instead of checking for an env var always

    In CTFE heavy code, checking the env var everytime is inefficient. We
    can do a lot better by using a `Session` variable instead.
    wesleywiser committed Mar 10, 2020
    Configuration menu
    Copy the full SHA
    5357f83 View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2020

  1. librustc_codegen_llvm: Use slices instead of 0-terminated strings

    Changed functions:
    * LLVMRustGetOrInsertFunction
    * LLVMRustGetNamedValue
    * LLVMRustBuildCall (removed unused name argument)
    * LLVMRustInlineAsm
    * LLVMRustInlineAsmVerify
    * LLVMRustAppendModuleInlineAsm
    tmiasko committed Mar 11, 2020
    Configuration menu
    Copy the full SHA
    1106579 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#66472 - GuillaumeGomez:show-coverage-json, …

    …r=ollie27
    
    --show-coverage json
    
    The purpose of this change is to be able to use it as a tool in docs.rs in order to provide some more stats to crates' owners. Eventually even create a badge or something along the line.
    
    r? @QuietMisdreavus
    Centril authored Mar 11, 2020
    Configuration menu
    Copy the full SHA
    741d4ff View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#69603 - chrissimpkins:tidy-docs-update, r=p…

    …etrochenkov
    
    tidy: replace `make check` with `./x.py test` in documentation
    
    This PR includes a minor documentation update for tidy.  It replaces the `make check` approach with `./x.py test` and describes how to execute the tidy checks (only) with ~~`./x.py test src/tools/tidy`~~ `./x.py test tidy`.
    Centril authored Mar 11, 2020
    Configuration menu
    Copy the full SHA
    dde2484 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#69760 - Centril:parse-expr-improve, r=estebank

    Improve expression & attribute parsing
    
    This PR includes misc improvements to expression and attribute parsing.
    
    1. Some code simplifications
    2. Better recovery for various block forms, e.g. `loop statements }` (missing `{` after `loop`). (See e.g., `block-no-opening-brace.rs` among others for examples.)
    3. Added recovery for e.g., `unsafe $b` where `$b` refers to a `block` macro fragment. (See `bad-interpolated-block.rs` for examples.)
    4. ^--- These are done so that code sharing in block parsing is increased.
    5. Added recovery for e.g., `'label: loop { ... }` (See `labeled-no-colon-expr.rs`.)
    6. Added recovery for e.g., `&'lifetime expr` (See `regions-out-of-scope-slice.rs`.)
    7. Added recovery for e.g., `fn foo() = expr;` (See `fn-body-eq-expr-semi.rs`.)
    8. Simplified attribute parsing code & slightly improved diagnostics.
    9. Added recovery for e.g., `Box<('a) + Trait>`.
    10. Added recovery for e.g, `if true #[attr] {} else #[attr] {} else #[attr] if true {}`.
    
    r? @estebank
    Centril authored Mar 11, 2020
    Configuration menu
    Copy the full SHA
    9674c09 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#69828 - RalfJung:vec-leak, r=kennytm

    fix memory leak when vec::IntoIter panics during drop
    
    Fixes rust-lang#69770
    Centril authored Mar 11, 2020
    Configuration menu
    Copy the full SHA
    080d413 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#69850 - RalfJung:panic-bounds-check, r=eddyb

    panic_bounds_check: use caller_location, like PanicFnLangItem
    
    The `PanicFnLangItem` got switched to using `#[caller_location]` at some point, but `PanicBoundsCheckFnLangItem` was kept in the old style. For consistency, switch that one over to use `#[caller_location]` as well.
    
    This is also helpful for Miri as it means the `assert_panic` machine hook never needs to know the current `Span`.
    Centril authored Mar 11, 2020
    Configuration menu
    Copy the full SHA
    3853da7 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#69876 - ayushmishra2005:doc/61137-add-long-…

    …error-code-e0739, r=Dylan-DPC
    
    Add long error explanation for E0739
    
    Add long explanation for the E0739 error code
    Part of rust-lang#61137
    
    r? @GuillaumeGomez
    Centril authored Mar 11, 2020
    Configuration menu
    Copy the full SHA
    e838383 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#69888 - wesleywiser:miri_exception_env_var_…

    …to_session_var, r=RalfJung
    
    [Miri] Use a session variable instead of checking for an env var always
    
    In CTFE heavy code, checking the env var everytime is inefficient. We
    can do a lot better by using a `Session` variable instead.
    
    r? @RalfJung
    
    Part of rust-lang#69297
    Centril authored Mar 11, 2020
    Configuration menu
    Copy the full SHA
    b1471e0 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#69893 - tmiasko:cstr, r=petrochenkov

    librustc_codegen_llvm: Use slices instead of 0-terminated strings
    
    Changed functions:
    * LLVMRustGetOrInsertFunction
    * LLVMRustGetNamedValue
    * LLVMRustBuildCall (removed unused name argument)
    * LLVMRustInlineAsm
    * LLVMRustInlineAsmVerify
    * LLVMRustAppendModuleInlineAsm
    Centril authored Mar 11, 2020
    Configuration menu
    Copy the full SHA
    a77206f View commit details
    Browse the repository at this point in the history