Repository navigation
Rollup of 6 pull requests - #166242
Rollup of 6 pull requests#166242
Conversation
Use `source_callsite()` to point to the exact source location where the macro is used and emit a more precise diagnostic message. Signed-off-by: Hardik Kumar <hardikxk@gmail.com>
Signed-off-by: Hardik Kumar <hardikxk@gmail.com>
We currently don't derive StableHash for any enums that large, but LangItem currently has 236 variants so it will probably exceed 256 someday.
And update the test to cover the case of a nested macro. Signed-off-by: Hardik Kumar <hardikxk@gmail.com>
diag: Fix source location for macro diagnostic message Use `source_callsite()` to point to the exact source location where the macro is used and emit a more precise diagnostic message. closes rust-lang#165650
…khyperia Abby: make the fields of `And/Or` private This makes it harder to violate the invariants on these types. See [comment](rust-lang#164302 (comment)). Split from rust-lang#164302 to get it merged earlier so that I can rebase less :> r? khyperia
…g, r=oli-obk Reflection: refactor Type and TypeKind Refactor by moving some things around. Since we only had one field in `Type`, removed `struct Type` and renamed `enum TypeKind` to `Type`. Flattened Type to be fieldless enum in the spirit of not computing things the user didn't ask for. Added Never type as a variant of Type. r? @oli-obk cc @yara-blue
…lly_braced_mac_call, r=jieyouxu remove optionally_braced_mac_call We don't use it anymore, so we can yeet it.
Allow `#[derive(StableHash)]` for enums with >256 variants When modifying `#[derive(StableHash)]` for rust-lang#164953, I made the new implementation only support enums with up to 256 variants, because we currently don't derive StableHash for any enums larger than that. But later I noticed that LangItem currently has 236 variants, and will probably exceed 256 someday. When someone does add the 257th variant, it would be very confusing for the derive to suddenly stop working. So this PR adds support for enums with 257-65536 variants, by hashing a u16 discriminant instead of a u8.
…oc-const-binding-ice, r=khyperia Add crash test for const param ty unchecked Part of rust-lang#166128. const_param_ty_unchecked is an internal feature that allows otherwise unsupported const parameter types, which can lead to ICEs. So we're keeping this as a crash test for now. r? @khyperia
Rollup of 6 pull requests try-job: dist-various-1 try-job: dist-various-2 try-job: test-various try-job: test-x86_64-gnu-aux try-job: test-x86_64-msvc-1 try-job: test-aarch64-apple-1 try-job: test-aarch64-apple-2 try-job: test-x86_64-mingw-1 try-job: test-i686-msvc try-job: test-armhf-gnu try-job: test-x86_64-gnu-llvm-22-3 try-job: test-aarch64-msvc-2
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
What is this?This is an experimental post-merge analysis report that shows differences in test outcomes between the merged PR and its parent PR.Comparing ec65cd5 (parent) -> 560abf7 (this PR) Test differencesShow 149 test diffsStage 1
Stage 2
Additionally, 136 doctest diffs were found. These are ignored, as they are noisy. Job group index
Test dashboardRun cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard 560abf7946ae41fd210edac5dfe829d7eff86eec --output-dir test-dashboardAnd then open Job duration changes
How to interpret the job duration changes?Job durations can vary a lot, based on the actual runner instance |
|
Finished benchmarking commit (560abf7): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis perf run didn't have relevant results for this metric. Max RSS (memory usage)Results (primary 0.9%, secondary 0.6%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary 0.1%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis perf run didn't have relevant results for this metric. Bootstrap: 459.547s -> 460.27s (0.16%) |
|
📌 Perf builds for each rolled up PR:
parent commit: ec65cd52bb In the case of a perf regression, run the following command with the SHAs of each PR you suspect might be the cause: |
Successful merges:
And/Orprivate #166091 (Abby: make the fields ofAnd/Orprivate)#[derive(StableHash)]for enums with >256 variants #166233 (Allow#[derive(StableHash)]for enums with >256 variants)r? @ghost
Create a similar rollup