Rollup of 4 pull requests#156111
Conversation
splits the large triple suggestion into three sets them to MaybeIncorrect automatically determines the required/nicest borrowing to use.
…7 instead of E0594 a set of slightly different tests showing that E0594 can be reached in some cases via autodereferencing, but also that slight variations produce E0277 instead.
added a valid example that violated the assumption in the proposed change: it is possible for a borrowee type to be a ref of it's borrowed type. removed the assumption, treated all cases appropriately.
…r printing MaybeUninit The derived implementation requires `T: Debug`, and doesn't need to.
…r=Urgau [rustdoc] Fix `doc_cfg` feature on reexports Part of rust-lang#150268. I don't mark the issue as fixed as I need to check the third case described in the issue. First commit comes from rust-lang#156020, will need to rebase this PR once the original is merged. r? @Urgau
…nathanBrouwer Fix 'assign to data in an index of' collection suggestions fixes rust-lang#150001 fixes rust-lang/rust-analyzer#16076 fixes rust-lang#134917 The issues are threefold and linked: 1. Assigning data to a ~~collection~~BTreeMap/HashMap suggests 3 solutions all marked as `MachineApplicable` 2. The suggestions are slightly wrong with regards to their borrowing needs. 3. The suggestions are not guaranteed to produce code that is valid, and suggestion number two is equivalent to an update, not an insertion. This PR: - splits the large triple suggestion into three - sets them to `MaybeIncorrect` - automatically determines the required borrowing to use. I think this solution may not be very elegant, expecially the key typechecking / borrowing part, but it works. I am however very open to any improvement/change :) edit: edited to replace 'collection' with BTreeMap/HashMap'
…RalfJung,ShoyuVanilla Rip out rustc_layout_scalar_valid_range_* attribute support And either removes tests for it or replaces the uses with pattern types. primarily fixes rust-lang#135996 fixes rust-lang#147761 fixes rust-lang#133652
…uillaumeGomez Hand-implement `impl Debug for NumBuffer` to avoid constraining `T` or printing MaybeUninit The derived implementation requires `T: Debug`, and doesn't need to.
|
@bors r+ rollup=never p=5 |
This comment has been minimized.
This comment has been minimized.
|
📌 Perf builds for each rolled up PR:
previous master: 54f67d248b 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 54f67d2 (parent) -> 818811b (this PR) Test differencesShow 47 test diffsStage 1
Stage 2
Additionally, 4 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 818811b3cd1e0ff0d8ef20d5a4cf0b7c079929bc --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 (818811b): comparison URL. Overall result: ❌✅ regressions and improvements - BENCHMARK(S) FAILEDOur benchmarks found a performance regression caused by this PR. Next Steps:
@rustbot label: +perf-regression ❗ ❗ ❗ ❗ ❗
❗ ❗ ❗ ❗ ❗ cc @rust-lang/wg-compiler-performance Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)Results (secondary 1.9%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary -0.0%)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: 494.817s -> 493.646s (-0.24%) |
Successful merges:
doc_cfgfeature on reexports #156073 ([rustdoc] Fixdoc_cfgfeature on reexports)impl Debug for NumBufferto avoid constrainingTor printing MaybeUninit #156098 (Hand-implementimpl Debug for NumBufferto avoid constrainingTor printing MaybeUninit)r? @ghost
Create a similar rollup