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

Merged
merged 23 commits into from
Mar 10, 2022
Merged

Rollup of 8 pull requests #94814

merged 23 commits into from
Mar 10, 2022

Commits on Mar 4, 2022

  1. Document new recommended use of method

    Jeff committed Mar 4, 2022
    Configuration menu
    Copy the full SHA
    c956fe5 View commit details
    Browse the repository at this point in the history
  2. Make use statement visible

    Jeff committed Mar 4, 2022
    Configuration menu
    Copy the full SHA
    5f34c04 View commit details
    Browse the repository at this point in the history
  3. Add suggested changes to the docs

    Jeff committed Mar 4, 2022
    Configuration menu
    Copy the full SHA
    b363f13 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2022

  1. Configuration menu
    Copy the full SHA
    a5216cf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fbd9c28 View commit details
    Browse the repository at this point in the history
  3. Improve rustdoc book

    Urgau committed Mar 8, 2022
    Configuration menu
    Copy the full SHA
    4e067e8 View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2022

  1. Configuration menu
    Copy the full SHA
    5226395 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7a481ff View commit details
    Browse the repository at this point in the history
  3. Remove outdated comment.

    m-ou-se committed Mar 9, 2022
    Configuration menu
    Copy the full SHA
    1c06eb7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b97d875 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e346920 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    109cdc7 View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2022

  1. Allow cargo run instead of cargo run -p bootstrap

    This was part of Mark's original PR in rust-lang@ecb424f,
    but I missed it when writing rust-lang#92260.
    jyn514 committed Mar 10, 2022
    Configuration menu
    Copy the full SHA
    687e53e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5f7ca55 View commit details
    Browse the repository at this point in the history
  3. RustWrapper: add missing include

    This is required after LLVM change 3c4410d (aka
    https://reviews.llvm.org/D121168) did some includes cleanup.
    durin42 committed Mar 10, 2022
    Configuration menu
    Copy the full SHA
    185e3b9 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#94440 - compiler-errors:issue-94282, r=lcnr

    Better error for normalization errors from parent crates that use `#![feature(generic_const_exprs)]`
    
    This PR implements a somewhat rudimentary heuristic to suggest using `#![feature(generic_const_exprs)]` in a child crate when a function from a foreign crate (that may have used `#![feature(generic_const_exprs)]`) fails to normalize during codegen.
    
    cc: rust-lang#79018
    cc: rust-lang#94287
    matthiaskrgr authored Mar 10, 2022
    Configuration menu
    Copy the full SHA
    b413745 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#94587 - JKAnderson409:issue-90107-fix, r=sc…

    …ottmcm
    
    Document new recommended use of `FromIterator::from_iter`
    
    rust-lang#90107
    Most of the added prose was paraphrased from the links provided in the issue. The suggested `VecDeque` example seemed to make the point well enough so I just used that.
    matthiaskrgr authored Mar 10, 2022
    Configuration menu
    Copy the full SHA
    b512720 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#94644 - m-ou-se:scoped-threads-drop-soundne…

    …ss, r=joshtriplett
    
    Fix soundness issue in scoped threads.
    
    This was discovered in rust-lang#94559 (comment)
    
    The `scope()` function returns when all threads are finished, but I accidentally considered a thread 'finished' before dropping their panic payload or ignored return value.
    
    So if a thread returned (or panics with) something that in its `Drop` implementation still uses borrowed stuff, it goes wrong.
    
    https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=2a1f19ac4676cdabe43e24e536ff9358
    matthiaskrgr authored Mar 10, 2022
    Configuration menu
    Copy the full SHA
    f1a6777 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#94740 - GuillaumeGomez:unify-impl-blocks, r…

    …=notriddle
    
    Unify impl blocks by wrapping them into a div
    
    The blanket and "auto traits" sections are wrapped into a `div` with an ID. This PR fixes this incoherence by wrapping each impl section (the "deref impl" and the "inherent impl" sections were missing it). It'll also make some tests simpler to write.
    
    r? `````@notriddle`````
    matthiaskrgr authored Mar 10, 2022
    Configuration menu
    Copy the full SHA
    82215ce View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#94753 - Urgau:rustdoc-book-improvements, r=…

    …GuillaumeGomez
    
    Improve rustdoc book
    
    This pull-request improves the `rustdoc` book by doing some (light) cleanup, by merging some stuff, by adding some missing stuff (like tracking issues links, for those who had one) and also by moving some chapter's into sub-chapter's to improve the flow of the book.
    
    ~~Note that I locally tested with `mdbook-lintcheck` that no links became accidentally broken.~~ (Not enough, ;-))
    
    r? `````@GuillaumeGomez`````
    matthiaskrgr authored Mar 10, 2022
    Configuration menu
    Copy the full SHA
    ec99104 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#94796 - jyn514:cargo-run-bootstrap, r=Mark-…

    …Simulacrum
    
    Allow `cargo run` instead of `cargo run -p bootstrap`
    
    This was part of `@Mark-Simulacrum` 's original PR in rust-lang@ecb424f,
    but I missed it when writing rust-lang#92260.
    
    This also has the side effect of allowing `cargo build --bins` instead of `cargo build -p bootstrap --bins`. I'm not sure when you would want to run cargo build/check/test without going through bootstrap, but this still allows you to do so as long as you pass `-p` for all the crates you want to build.
    matthiaskrgr authored Mar 10, 2022
    Configuration menu
    Copy the full SHA
    fa685a5 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#94805 - oli-obk:drop_box, r=pnkfelix

    Revert accidental stabilization
    
    fixes rust-lang#94804
    matthiaskrgr authored Mar 10, 2022
    Configuration menu
    Copy the full SHA
    af35dc2 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#94809 - durin42:llvm-15-modulepass, r=nikic

    RustWrapper: add missing include
    
    This is required after LLVM change 3c4410d (aka
    https://reviews.llvm.org/D121168) did some includes cleanup.
    
    r? nikic
    matthiaskrgr authored Mar 10, 2022
    Configuration menu
    Copy the full SHA
    07e4fbd View commit details
    Browse the repository at this point in the history