-
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 8 pull requests #123856
Rollup of 8 pull requests #123856
Conversation
Given ```rust macro_rules! a { ( ) => { impl<'b> c for d { e::<f'g> } }; } ``` ensure an error is emitted. Fix rust-lang#123079.
Add an example for the shadowing usage.
…an, r=pnkfelix rustdoc: point at span in `include_str!`-ed md file Fixes rust-lang#118549
Fix invalid silencing of parsing error Given ```rust macro_rules! a { ( ) => { impl<'b> c for d { e::<f'g> } }; } ``` ensure an error is emitted. Fix rust-lang#123079.
do not add prolog for variadic naked functions fixes rust-lang#99858
…=petrochenkov Call the panic hook for non-unwind panics in proc-macros As I suggested in rust-lang#123286 (comment). If a proc macro causes a non-unwinding panic, `proc_macro` isn't able to catch the unwind and report the panic as a compile error by passing control back to the compiler. Our only chance to produce any diagnostic is the panic hook, so we should call it. This scenario has already existed, but has become a lot more interesting now that we're adding more UB-detecting panics to the standard library, and such panics do not unwind.
Update stdarch submodule `asm_experimental_arch` is required in `core` as we're now using unstable inline assembly when building Arm64EC. Brings in the fix for <rust-lang/stdarch#1555> (cc `@tslnc04).` r? `@Amanieu`
…wesleywiser Improve diagnostic by suggesting to remove visibility qualifier Resolves rust-lang#123529 This PR improve diagnostic by suggesting to remove visibility qualifier.
…felix Update E0384.md Add an example for the shadowing usage.
…, r=lqd fix typo in library/std/src/lib.rs I found typo in literal. I got an error by this typo when build std. ``` salacia@Vega:~/fat12rs$ cargo build -Zbuild-std Compiling compiler_builtins v0.1.108 Compiling core v0.0.0 (/home/salacia/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core) Compiling libc v0.2.153 Compiling memchr v2.5.0 Compiling std v0.0.0 (/home/salacia/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std) Compiling rustc-std-workspace-core v1.99.0 (/home/salacia/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-core) Compiling alloc v0.0.0 (/home/salacia/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc) Compiling cfg-if v1.0.0 Compiling unwind v0.0.0 (/home/salacia/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/unwind) Compiling adler v1.0.2 Compiling rustc-demangle v0.1.23 Compiling rustc-std-workspace-alloc v1.99.0 (/home/salacia/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-alloc) Compiling gimli v0.28.1 Compiling object v0.32.2 Compiling addr2line v0.21.0 Compiling miniz_oxide v0.7.2 Compiling std_detect v0.1.5 (/home/salacia/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/stdarch/crates/std_detect) Compiling hashbrown v0.14.3 Compiling panic_abort v0.0.0 (/home/salacia/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/panic_abort) Compiling panic_unwind v0.0.0 (/home/salacia/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/panic_unwind) error: expected `,`, found `.` --> /home/salacia/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/lib.rs:224:78 | 224 | `#![no_std]` or overriding this warning by enabling this feature". | ^ expected `,` error: could not compile `std` (lib) due to 1 previous error :224:78 | 224 | `#![no_std]` or overriding this warning by enabling this feature". | ^ expected `,` error: could not compile `std` (lib) due to 1 previous error ```
@bors r+ rollup=never p=8 |
☀️ Test successful - checks-actions |
📌 Perf builds for each rolled up PR:
previous master: bd71213cf0 In the case of a perf regression, run the following command for each PR you suspect might be the cause: |
Finished benchmarking commit (322e92b): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 675.519s -> 677.195s (0.25%) |
Successful merges:
include_str!
-ed md file #123204 (rustdoc: point at span ininclude_str!
-ed md file)r? @ghost
@rustbot modify labels: rollup
Create a similar rollup