-
Notifications
You must be signed in to change notification settings - Fork 13.8k
Extended temporary argument to format_args!() in all cases #145882
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
Conversation
The argument needs to be lifetime-extended, so this special case isn't actually perfectly equivalent to the general case.
rustbot has assigned @petrochenkov. Use |
This PR modifies Some changes occurred in coverage tests. cc @Zalathar |
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Extended temporary argument to format_args!() in all cases
This should not be merged before #145838 is merged, to not make that problem worse. |
This comment has been minimized.
This comment has been minimized.
Some changes occurred in src/tools/clippy cc @rust-lang/clippy |
This comment has been minimized.
This comment has been minimized.
Finished benchmarking commit (a6a9c2f): comparison URL. Overall result: ❌✅ regressions and improvements - please read the text belowBenchmarking this pull request means it may be perf-sensitive – we'll automatically label it not fit for rolling up. You can override this, but we strongly advise not to, due to possible changes in compiler perf. Next Steps: If you can justify the regressions found in this try perf run, please do so in sufficient writing along with @bors rollup=never Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)Results (primary 0.2%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary 1.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (primary 0.0%, secondary 0.6%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 468.126s -> 469.353s (0.26%) |
This comment was marked as duplicate.
This comment was marked as duplicate.
@bors r+ |
☀️ 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 b733736 (parent) -> 40ace17 (this PR) Test differencesShow 2 test diffs2 doctest diffs were found. These are ignored, as they are noisy. Test dashboardRun cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard 40ace17fc3891155bad26a50d60a9ab07b83bf8e --output-dir test-dashboard And then open Job duration changes
How to interpret the job duration changes?Job durations can vary a lot, based on the actual runner instance |
Does this need relnotes? I suppose we are accepting more code (#145880) than before, right? |
Finished benchmarking commit (40ace17): comparison URL. Overall result: ❌✅ regressions and improvements - please read the text belowOur benchmarks found a performance regression caused by this PR. Next Steps:
@rustbot label: +perf-regression Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)Results (primary 1.8%, secondary 2.6%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary 2.9%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (primary 0.1%, secondary 0.6%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 472.685s -> 471.524s (-0.25%) |
…petrochenkov Extended temporary argument to format_args!() in all cases Fixes rust-lang#145880 by removing the special case.
…petrochenkov Extended temporary argument to format_args!() in all cases Fixes rust-lang#145880 by removing the special case.
Fixes #145880 by removing the special case.
Reference PR:
format_args!
expansion reference#2017