Rollup of 6 pull requests#157913
Conversation
* update intrinsics wrapping documentation * fix variable names
* stabilize feature float_algebraic * fixed algrebracis for `f16` and `f128`
…lysis/src/diagnostics.rs`
…loat_algebraic, r=RalfJung stabilize feature `float_algebraic` Closes rust-lang#136469 Thanks to @RalfJung for getting the stabilization process started and asking me to draft the stabilization PR for the `float_algebraic` feature. This will be my first contribution to rust! I've done my best to follow the various guides for stabilization PRs, but this is my first one, so do give it a careful look. The only place left that includes "float_algebraic" is line 8202 of "src/tools/rust-analyzer/crates/ide-db/src/generated/lints.rs", but I'm assuming that's fine.
…-op-type, r=camelid `suspicious_double_ref_op`: report unadjusted return type `suspicious_double_ref_op` uses the adjusted expression type to distinguish a no-op call from a double-reference operation. When the result is used as another method's receiver, that type can include the parent method's receiver adjustment. For example, `file.clone().write(&[])` reports that `clone` returns `&mut &File`, even though it returns `&File`. This PR continues to use the adjusted type for lint classification, but now uses the method call's unadjusted type in the diagnostic. The same issue affects `.deref()`, so the regression test covers both operations. Fixes rust-lang#146227
…jhpratt Stabilize `nonzero_from_str_radix` Closes rust-lang#152193
Update intrinsics wrapping documentation
This PR updates the documentation for `intrinsics::{wrapping_add, wrapping_sub, wrapping_mul}`,
to make it accurate for both signed and unsigned types.
Related issue: rust-lang#156726
…=Darksonn Add Alice Ryhl to libs review rotation
… r=JonathanBrouwer Rename `errors.rs` file to `diagnostics.rs` (10/N) Follow-up of rust-lang#157485. r? @JonathanBrouwer
Rollup of 6 pull requests try-job: dist-various-1 try-job: test-various try-job: x86_64-gnu-aux try-job: x86_64-gnu-llvm-21-3 try-job: x86_64-msvc-1 try-job: aarch64-apple try-job: x86_64-mingw-1 try-job: i686-msvc-2
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
📌 Perf builds for each rolled up PR:
previous master: 5ff740e85e In the case of a perf regression, run the following command for each PR you suspect might be the cause: |
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 5ff740e (parent) -> 5930afc (this PR) Test differencesShow 859 test diffsStage 2
Additionally, 858 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 5930afcb1fcf96ff55af8d4b075f149b647c40a4 --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 (5930afc): 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 -2.6%, secondary -5.6%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesThis perf run didn't have relevant results for this metric. Binary sizeResults (secondary -0.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 518.77s -> 518.611s (-0.03%) |
Successful merges:
float_algebraic#157029 (stabilize featurefloat_algebraic)suspicious_double_ref_op: report unadjusted return type #157872 (suspicious_double_ref_op: report unadjusted return type)nonzero_from_str_radix#157877 (Stabilizenonzero_from_str_radix)errors.rsfile todiagnostics.rs(10/N) #157911 (Renameerrors.rsfile todiagnostics.rs(10/N))r? @ghost
Create a similar rollup