-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Make slice iterator constructors unstably const #137738
Make slice iterator constructors unstably const #137738
Conversation
@rustbot label -T-libs +T-libs-api |
r? libs-api |
It's not obvious that these are desirable yet, since other could-trivially-be-const things like https://doc.rust-lang.org/nightly/std/iter/fn.once.html aren't. Probably worth a team decision on the broader question, then the reviews would be simple. |
☔ The latest upstream changes (presumably #138548) made this pull request unmergeable. Please resolve the merge conflicts. |
This line from the tracking issue is spot on: "having unnecessary So I buy the justification. This PR looks good to me as soon as you rebase to solve the merge conflict. |
4ec741a
to
beb8e9e
Compare
@rustbot ready |
Crosslinking the zulip discussion #t-libs-api/api-changes > const slice iterator constructors |
…e_iter, r=dtolnay Make slice iterator constructors unstably const See [tracking issue](rust-lang#137737) for justification.
…e_iter, r=dtolnay Make slice iterator constructors unstably const See [tracking issue](rust-lang#137737) for justification.
Rollup of 12 pull requests Successful merges: - rust-lang#110406 (rustdoc-json: Add test for #[automatically_derived] attribute) - rust-lang#137738 (Make slice iterator constructors unstably const) - rust-lang#138492 (remove `feature(inline_const_pat)`) - rust-lang#138928 (Fix UWP reparse point check) - rust-lang#138950 (replace extra_filename with strict version hash in metrics file names) - rust-lang#139002 (Add release notes for 1.86.0) - rust-lang#139022 (increment depth of nested obligations) - rust-lang#139060 (replace commit placeholder in vendor status with actual commit) - rust-lang#139102 (coverage: Avoid splitting spans during span extraction/refinement) - rust-lang#139129 (Add tests for slice bounds check optimization) - rust-lang#139188 (PassWrapper: adapt for llvm/llvm-project@94122d58fc77079a291a3d008914…) - rust-lang#139193 (Feed HIR for by-move coroutine body def, since the inliner tries to read its attrs) r? `@ghost` `@rustbot` modify labels: rollup
…iter, r=dtolnay Make slice iterator constructors unstably const See [tracking issue](rust-lang#137737) for justification.
This comment has been minimized.
This comment has been minimized.
💔 Test failed - checks-actions |
@bors try @Daniel-Aaron-Bloom could you squash? Also FYI those are MIR tests (the IR), nor Miri (the interpreter). |
…iter, r=<try> Make slice iterator constructors unstably const See [tracking issue](rust-lang#137737) for justification. try-job: aarch64-apple try-job: x86_64-gnu
7e4cbc4
to
20417a9
Compare
@bors r=dtolnay |
☀️ Test successful - checks-actions |
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 b6d74b5 (parent) -> e0883a2 (this PR) Test differencesShow 485 test diffsStage 2
Additionally, 484 doctest diffs were found. These are ignored, as they are noisy. Job group index
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 (e0883a2): comparison URL. Overall result: ❌ regressions - no action needed@rustbot label: -perf-regression Instruction countThis is the most reliable metric that we have; it was used to determine the overall result at the top of this comment. However, even this metric can sometimes exhibit noise.
Max RSS (memory usage)Results (primary -2.0%, secondary -0.1%)This 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.
CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeResults (primary -0.1%, secondary -0.1%)This 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.
Bootstrap: 778.474s -> 777.235s (-0.16%) |
See tracking issue for justification.
try-job: aarch64-apple
try-job: x86_64-gnu