-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Improve test coverage of HIR pretty printing. #140430
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
@bors r+ |
Improve test coverage of HIR pretty printing. Details in individual commits. r? `@dtolnay`
Rollup of 14 pull requests Successful merges: - rust-lang#140380 (transmutability: uninit transition matches unit byte only) - rust-lang#140385 (Subtree update of `rust-analyzer`) - rust-lang#140395 (organize and extend forbidden target feature tests) - rust-lang#140430 (Improve test coverage of HIR pretty printing.) - rust-lang#140458 (Fix for async drop ice with partly dropped tuple) - rust-lang#140460 (Fix handling of LoongArch target features not supported by LLVM 19) - rust-lang#140465 (chore: edit and move tests) - rust-lang#140467 (Don't FCW assoc consts in patterns) - rust-lang#140468 (Minor tweaks to make some normalization (adjacent) code less confusing) - rust-lang#140470 (CI: rfl: move job forward to Linux v6.15-rc4) - rust-lang#140476 (chore: delete unused ui/auxiliary crates) - rust-lang#140481 (Require sanitizers be enabled for asan_odr_windows.rs) - rust-lang#140486 (rustfmt: Also allow bool literals as first item of let chain) - rust-lang#140494 (Parser: Document restrictions) r? `@ghost` `@rustbot` modify labels: rollup
Failed in rollup: #140501 (comment) Probably due to a soft conflict with the restrictions introduced by #139720. @bors r- |
☔ The latest upstream changes (presumably #140503) made this pull request unmergeable. Please resolve the merge conflicts. |
0004b51
to
69e54ae
Compare
I rebased and added the missing @bors r=dtolnay |
Improve test coverage of HIR pretty printing. Details in individual commits. r? `@dtolnay`
…iaskrgr Rollup of 7 pull requests Successful merges: - rust-lang#134034 (handle paren in macro expand for let-init-else expr) - rust-lang#139186 (Refactor `diy_float`) - rust-lang#140062 (std: mention `remove_dir_all` can emit `DirectoryNotEmpty` when concurrently written into) - rust-lang#140430 (Improve test coverage of HIR pretty printing.) - rust-lang#140485 (Optimize the codegen for `Span::from_expansion`) - rust-lang#140505 (linker: Quote symbol names in .def files) - rust-lang#140521 (interpret: better error message for out-of-bounds pointer arithmetic and accesses) r? `@ghost` `@rustbot` modify labels: rollup
Failed in rollup: #140537 (comment) My condolences on having to think about the @bors r- |
@bors try |
Improve test coverage of HIR pretty printing. Details in individual commits. r? `@dtolnay`
☀️ Try build successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
2ca273d
to
a5dad1d
Compare
@bors try |
⌛ Trying commit a5dad1d with merge ec3351f4bc18eed148944fefcdf4486fcb79f769... |
Improve test coverage of HIR pretty printing. Details in individual commits. r? `@dtolnay` try-job: test-various
☀️ Try build successful - checks-actions |
The problem with the test-various job was caused by the use of @bors r=dtolnay |
@bors r- |
By taking the existing `expanded-exhaustive.rs` test and running it with both `Zunpretty=expanded` *and* `Zunpretty=hir`. Also rename some files, and split the asm parts out so they only run on x86-64.
a5dad1d
to
3f842e5
Compare
I have now split out the asm parts into a separate test that only runs on x86-64. The main test runs on all platforms. I also accidentally squashed the commits, oh well. |
@bors try |
⌛ Trying commit 3f842e5 with merge 0acf01e326ee07ed2d542f32e0cce7bb3f4c357c... |
Improve test coverage of HIR pretty printing. Details in individual commits. r? `@dtolnay` try-job: test-various
☀️ Try build successful - checks-actions |
@bors r=dtolnay |
Rollup of 12 pull requests Successful merges: - rust-lang#134034 (handle paren in macro expand for let-init-else expr) - rust-lang#137474 (pretty-print: Print shebang at the top of the output) - rust-lang#138872 (rustc_target: RISC-V `Zfinx` is incompatible with `{ILP32,LP64}[FD]` ABIs) - rust-lang#139046 (Improve `Lifetime::suggestion`) - rust-lang#139206 (std: use the address of `errno` to identify threads in `unique_thread_exit`) - rust-lang#139608 (Clarify `async` block behaviour) - rust-lang#139847 (Delegate to inner `vec::IntoIter` from `env::ArgsOs`) - rust-lang#140159 (Avoid redundant WTF-8 checks in `PathBuf`) - rust-lang#140197 (Document breaking out of a named code block) - rust-lang#140389 (Remove `avx512dq` and `avx512vl` implication for `avx512fp16`) - rust-lang#140430 (Improve test coverage of HIR pretty printing.) - rust-lang#140507 (rustc_target: RISC-V: feature addition batch 3) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#140430 - nnethercote:hir-exhaustive, r=dtolnay Improve test coverage of HIR pretty printing. Details in individual commits. r? `@dtolnay` try-job: test-various
Details in individual commits.
r? @dtolnay
try-job: test-various