-
Notifications
You must be signed in to change notification settings - Fork 13k
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 7 pull requests #89984
Rollup of 7 pull requests #89984
Conversation
…rint_visible_def_path_recur`.
ty::pretty: prevent infinite recursion for `extern crate` paths. Fixes rust-lang#55779, fixes rust-lang#87932. This fix is based on `@estebank's` idea in rust-lang#55779 (comment) - but instead of trying to get `try_print_visible_def_path_recur`'s cycle detection to work in this case, this PR "just" disables the "visible path" feature when printing the path to an `extern crate`, so that the old recursion chain of `try_print_visible_def_path -> print_def_path -> try_print_visible_def_path`, is now impossible. Both tests have been confirmed to crash `rustc` because of a stack overflow, without the fix.
…arm64, r=Mark-Simulacrum Make `llvm.download-ci-llvm="if-available"` work for tier 2 targets with host tools `llvm.download-ci-llvm="if-available"` is used for most profiles configured via `x.py setup`. It allows downloading prebuilt LLVM tarballs from the CI artifacts for a configured list of platforms. Currently this list is restricted to tier 1 targets but it makes sense for all tier 2 targets with host tools.
…rom-slice, r=the8472 Remove a mention to `copy_from_slice` from `clone_from_slice` doc Fixes rust-lang#84736 I think removing it would be the best but I'm happy to clarify it instead if someone would like.
Fix an ICE with TAITs and Future Fixes rust-lang#89686
…=nagisa Some "parenthesis" and "parentheses" fixes "Parenthesis" is the singular (e.g. one `(` or one `)`) and "parentheses" is the plural (multiple `(` or `)`s) and this is not hard to mix up so here are some fixes for that. Inspired by rust-lang#89958
Add a regression test for rust-lang#85921 Closes rust-lang#85921 r? `@jackh726`
Make Result::as_mut const Adding `const` for `Result::as_mut`. Tracking issue: rust-lang#82814
@bors r+ rollup=never p=7 |
📌 Commit f044a84 has been approved by |
☀️ Test successful - checks-actions |
Finished benchmarking commit (1f12ac8): comparison url. Summary: This benchmark run did not return any relevant changes. If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression |
Successful merges:
extern crate
paths. #89738 (ty::pretty: prevent infinite recursion forextern crate
paths.)llvm.download-ci-llvm="if-available"
work for tier 2 targets with host tools #89888 (Makellvm.download-ci-llvm="if-available"
work for tier 2 targets with host tools)copy_from_slice
fromclone_from_slice
doc #89945 (Remove a mention tocopy_from_slice
fromclone_from_slice
doc)Failed merges:
r? @ghost
@rustbot modify labels: rollup
Create a similar rollup