-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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 #104080
Rollup of 8 pull requests #104080
Commits on Nov 4, 2022
-
rustdoc: render late-bound lifetimes in generic parameter list of cro…
…ss-crate functions and methods
Configuration menu - View commit details
-
Copy full SHA for 5965af7 - Browse repository at this point
Copy the full SHA 5965af7View commit details -
rustdoc: render unnamed arguments as underscores in cross-crate funct…
…ions & function pointers for consistency with the way we display local definitions (cleaned from HIR, not from rustc_middle).
Configuration menu - View commit details
-
Copy full SHA for 9cdab67 - Browse repository at this point
Copy the full SHA 9cdab67View commit details -
rustdoc: move cross-crate lifetime/outlives bounds on GAT params from…
… where-clause to param declaration site I've overlooked this in rust-lang#103190.
Configuration menu - View commit details
-
Copy full SHA for 2d9755f - Browse repository at this point
Copy the full SHA 2d9755fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ac7034 - Browse repository at this point
Copy the full SHA 1ac7034View commit details -
rustdoc: render the return type of cross-crate
Fn
-family trait boun……ds in trait-object types
Configuration menu - View commit details
-
Copy full SHA for 71561f8 - Browse repository at this point
Copy the full SHA 71561f8View commit details -
rustdoc: add test for cross-crate trait-object types
as well as some FIXMEs
Configuration menu - View commit details
-
Copy full SHA for 7ec50b6 - Browse repository at this point
Copy the full SHA 7ec50b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ccaed2 - Browse repository at this point
Copy the full SHA 5ccaed2View commit details
Commits on Nov 6, 2022
-
Add type_array to BaseTypeMethods
Moved type_array function to rustc_codegen_ssa::BaseTypeMethods trait. This allows using normal alloca function to create arrays as suggested in rust-lang#104022. Signed-off-by: Ayush Singh <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 299bc61 - Browse repository at this point
Copy the full SHA 299bc61View commit details -
Configuration menu - View commit details
-
Copy full SHA for e15c406 - Browse repository at this point
Copy the full SHA e15c406View commit details -
rustdoc: remove unused CSS
#sidebar-filler
This hack was removed in 6a5f8b1, but the CSS was left in.
Configuration menu - View commit details
-
Copy full SHA for b34fdd3 - Browse repository at this point
Copy the full SHA b34fdd3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 24d86a1 - Browse repository at this point
Copy the full SHA 24d86a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for f414715 - Browse repository at this point
Copy the full SHA f414715View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e23d90 - Browse repository at this point
Copy the full SHA 0e23d90View commit details -
Make underscore_literal_suffix a hard error.
It's been a warning for 5.5 years. Time to make it a hard error. Closes rust-lang#42326.
Configuration menu - View commit details
-
Copy full SHA for dba6fc3 - Browse repository at this point
Copy the full SHA dba6fc3View commit details -
Configuration menu - View commit details
-
Copy full SHA for f28875e - Browse repository at this point
Copy the full SHA f28875eView commit details -
Print "Checking/Building ..." message even when --dry-run is passed
This makes it a lot easier to understand what commands will be run without having to parse the `-vv` output, which isn't meant to be user facing.
Configuration menu - View commit details
-
Copy full SHA for fd1a393 - Browse repository at this point
Copy the full SHA fd1a393View commit details -
Rollup merge of rust-lang#103885 - fmease:rustdoc-various-cross-crate…
…-reexport-fixes, r=cjgillot,GuillaumeGomez rustdoc: various cross-crate reexport fixes Fixes for various smaller cross-crate reexport issues. The PR is split into several commits for easier review. Will be squashed after approval. Most notable changes: * We finally render late-bound lifetimes in the generic parameter list of cross-crate functions & methods. Previously, we would display the re-export of `pub fn f<'s>(x: &'s str) {}` as `pub fn f(x: &'s str)` * We now render unnamed parameters of cross-crate functions and function pointers as underscores since that's exactly what we do for local definitions, too. Mentioned as a bug in rust-lang#44306. * From now on, the rendering of cross-crate trait-object types is more correct: * `for<>` parameter lists (for higher-ranked lifetimes) are now shown * the return type of `Fn{,Mut,Once}` trait bounds is now displayed Regarding the last list item, here is a diff for visualization (before vs. after): ```patch - dyn FnOnce(&'any str) + 'static + dyn for<'any> FnOnce(&'any str) -> bool + 'static ``` The redundant `+ 'static` will be removed in a follow-up PR that will hide trait-object lifetime-bounds if they coincide with [their default](https://doc.rust-lang.org/reference/lifetime-elision.html#default-trait-object-lifetimes) (see [Zulip discussion](https://rust-lang.zulipchat.com/#narrow/stream/266220-rustdoc/topic/clean_middle_ty.3A.20I.20need.20to.20add.20a.20parameter/near/307143097)). `FIXME(fmease)`s were added. `@rustbot` label A-cross-crate-reexports r? `@GuillaumeGomez`
Yuki Okushi authoredNov 6, 2022 Configuration menu - View commit details
-
Copy full SHA for 5fadbd0 - Browse repository at this point
Copy the full SHA 5fadbd0View commit details -
Rollup merge of rust-lang#103914 - nnethercote:close-42326, r=petroch…
…enkov Make underscore_literal_suffix a hard error. It's been a warning for 5.5 years. Time to make it a hard error. Closes rust-lang#42326. r? `@pnkfelix`
Yuki Okushi authoredNov 6, 2022 Configuration menu - View commit details
-
Copy full SHA for ceff97a - Browse repository at this point
Copy the full SHA ceff97aView commit details -
Rollup merge of rust-lang#104045 - Ayush1325:type_array, r=nikic
Add type_array to BaseTypeMethods Moved `type_array` function to `rustc_codegen_ssa::BaseTypeMethods` trait. This allows using normal `alloca` function to create arrays as suggested in rust-lang#104022. Signed-off-by: Ayush Singh <[email protected]>
Yuki Okushi authoredNov 6, 2022 Configuration menu - View commit details
-
Copy full SHA for 874e795 - Browse repository at this point
Copy the full SHA 874e795View commit details -
Rollup merge of rust-lang#104059 - Rejyr:rustc_middle-lint-typo, r=pe…
…trochenkov Fix typo in `rustc_middle/lint.rs`
Yuki Okushi authoredNov 6, 2022 Configuration menu - View commit details
-
Copy full SHA for 77d938c - Browse repository at this point
Copy the full SHA 77d938cView commit details -
Rollup merge of rust-lang#104062 - notriddle:notriddle/sidebar-filler…
…, r=GuillaumeGomez rustdoc: remove unused CSS `#sidebar-filler` This hack was removed in 6a5f8b1, but the CSS was left in.
Yuki Okushi authoredNov 6, 2022 Configuration menu - View commit details
-
Copy full SHA for 4d5860c - Browse repository at this point
Copy the full SHA 4d5860cView commit details -
Rollup merge of rust-lang#104065 - GuillaumeGomez:css-migrate-logo-fi…
…lter, r=notriddle Migrate rust logo filter to CSS variables
Yuki Okushi authoredNov 6, 2022 Configuration menu - View commit details
-
Copy full SHA for 94334d3 - Browse repository at this point
Copy the full SHA 94334d3View commit details -
Rollup merge of rust-lang#104066 - TimNN:riscv-layout, r=nikic
LLVM 16: Update RISCV data layout The RISCV data layout was changed in llvm/llvm-project@974e2e6. This updates all `riscv64*` targets, though I don't really know what the difference between the `gc` and `imac` ones is. Passes `x test codegen` at LLVM head and with the currently bundled LLVM version. Without this patch, some tests fail with: > error: internal compiler error: compiler/rustc_codegen_llvm/src/context.rs:192:13: data-layout for target `riscv64gc-unknown-none-elf`, `e-m:e-p:64:64-i64:64-i128:128-n64-S128`, differs from LLVM target's `riscv64` default layout, `e-m:e-p:64:64-i64:64-i128:128-n32:64-S128
Yuki Okushi authoredNov 6, 2022 Configuration menu - View commit details
-
Copy full SHA for 6b59653 - Browse repository at this point
Copy the full SHA 6b59653View commit details -
Rollup merge of rust-lang#104078 - jyn514:dry-run-progress, r=Mark-Si…
…mulacrum Print "Checking/Building ..." message even when --dry-run is passed Print "Checking/Building ..." message even when --dry-run is passed This makes it a lot easier to understand what commands will be run without having to parse the `-vv` output, which isn't meant to be user facing. I also want to change these messages at some point (rust-lang#102003) and this change will make it easier to paste a before/after comparison without having to actually build a stage 2 compiler.
Yuki Okushi authoredNov 6, 2022 Configuration menu - View commit details
-
Copy full SHA for e35059d - Browse repository at this point
Copy the full SHA e35059dView commit details