Repository navigation
Add regression test for #152415 - #164541
Conversation
|
Thanks for the pull request, and welcome! The Rust Project has assigned @lcnr (or someone else) to review your changes, you should hear from them (or someone else) within the next two weeks. Please see the contribution instructions and our LLM policy for more information. |
This comment has been minimized.
This comment has been minimized.
f1de0f7 to
2d434e2
Compare
|
Hey @lcnr, we are here at #164541 but it applies to #164542 and #164543. These three PRs were made using LLM assistance, as I wrote in their descriptions. They only add regression tests, and I checked each one against the compiler |
|
Using LLMs to help you get context in this way is fine for me and I appreciate your PR descriptions, especially in #164543. As long as you make sure you're fully responsible yourself for the final output that others get exposed to (as in, you write the final text and code yourself while understanding what it does/making it explicit where you're unsure), I am happy to review such work. Thank you 😊 @bors r+ rollup |
|
sorry for the delay, have been busy and then on vacation |
…15, r=lcnr Add regression test for rust-lang#152415 Adds a regression test for rust-lang#152415. The ICE (`assertion failed: !origin.span.is_dummy()` in `need_type_info.rs`) was fixed by rust-lang#156619. I checked it with builds that have debug assertions: - on 89a9993 (the parent of rust-lang#156619) the test ICEs - on c712ea9 (rust-lang#156619) and on current master it only reports E0207 I also tried a few variations of the example (dyn, `where Self:`, two const params, an impl of the trait). Six of them ICE before rust-lang#156619, none after. Closes rust-lang#152415 r? @lcnr ### LLM disclosure The task itself came from the issue (find the fixing PR and add a test). I used an LLM to run the bisect and the before/after builds of rust-lang#156619, and to help write the test and draft some texts. I reviewed the test and the results myself, so I understand the change.
…uwer Rollup of 12 pull requests Successful merges: - #166340 (Revert "implement const Iterator for Range - #156216") - #165345 (Remove the 'eq', 'eq_trace', and 'goals_to_obligations' methods from 'At') - #165538 (Supertraits returns Unnormalized) - #165794 (`consider_impl_candidate` tweaks) - #160752 (Avoid inference constraints from opaque blanket impls) - #163187 (add `scalbn` and `ilogb` methods on floats) - #164541 (Add regression test for #152415) - #164543 (Add regression test for #151316) - #165920 (Introduce compute_abi helper and ComputeCallConv trait) - #166313 (Move `rustdoc-ui` tests in the right folder) - #166420 ([rustdoc] Fix search index generation: if crate content didn't change, it should generate the same search index) - #166485 (Allow passing `--exact-match` and `--purge` to `x perf`)
Rollup merge of #164541 - machinedramon:regression-test-152415, r=lcnr Add regression test for #152415 Adds a regression test for #152415. The ICE (`assertion failed: !origin.span.is_dummy()` in `need_type_info.rs`) was fixed by #156619. I checked it with builds that have debug assertions: - on 89a9993 (the parent of #156619) the test ICEs - on c712ea9 (#156619) and on current master it only reports E0207 I also tried a few variations of the example (dyn, `where Self:`, two const params, an impl of the trait). Six of them ICE before #156619, none after. Closes #152415 r? @lcnr ### LLM disclosure The task itself came from the issue (find the fixing PR and add a test). I used an LLM to run the bisect and the before/after builds of #156619, and to help write the test and draft some texts. I reviewed the test and the results myself, so I understand the change.
…uwer Rollup of 12 pull requests Successful merges: - rust-lang/rust#166340 (Revert "implement const Iterator for Range - rust-lang/rust#156216") - rust-lang/rust#165345 (Remove the 'eq', 'eq_trace', and 'goals_to_obligations' methods from 'At') - rust-lang/rust#165538 (Supertraits returns Unnormalized) - rust-lang/rust#165794 (`consider_impl_candidate` tweaks) - rust-lang/rust#160752 (Avoid inference constraints from opaque blanket impls) - rust-lang/rust#163187 (add `scalbn` and `ilogb` methods on floats) - rust-lang/rust#164541 (Add regression test for rust-lang/rust#152415) - rust-lang/rust#164543 (Add regression test for rust-lang/rust#151316) - rust-lang/rust#165920 (Introduce compute_abi helper and ComputeCallConv trait) - rust-lang/rust#166313 (Move `rustdoc-ui` tests in the right folder) - rust-lang/rust#166420 ([rustdoc] Fix search index generation: if crate content didn't change, it should generate the same search index) - rust-lang/rust#166485 (Allow passing `--exact-match` and `--purge` to `x perf`)
…uwer Rollup of 12 pull requests Successful merges: - rust-lang/rust#166340 (Revert "implement const Iterator for Range - rust-lang/rust#156216") - rust-lang/rust#165345 (Remove the 'eq', 'eq_trace', and 'goals_to_obligations' methods from 'At') - rust-lang/rust#165538 (Supertraits returns Unnormalized) - rust-lang/rust#165794 (`consider_impl_candidate` tweaks) - rust-lang/rust#160752 (Avoid inference constraints from opaque blanket impls) - rust-lang/rust#163187 (add `scalbn` and `ilogb` methods on floats) - rust-lang/rust#164541 (Add regression test for rust-lang/rust#152415) - rust-lang/rust#164543 (Add regression test for rust-lang/rust#151316) - rust-lang/rust#165920 (Introduce compute_abi helper and ComputeCallConv trait) - rust-lang/rust#166313 (Move `rustdoc-ui` tests in the right folder) - rust-lang/rust#166420 ([rustdoc] Fix search index generation: if crate content didn't change, it should generate the same search index) - rust-lang/rust#166485 (Allow passing `--exact-match` and `--purge` to `x perf`)
Adds a regression test for #152415.
The ICE (
assertion failed: !origin.span.is_dummy()inneed_type_info.rs)was fixed by #156619. I checked it with builds that have debug assertions:
-Znext-solverLess normalizes-to janks #156619) the test ICEs-Znext-solverLess normalizes-to janks #156619) and on current master it only reports E0207I also tried a few variations of the example (dyn,
where Self:, two constparams, an impl of the trait). Six of them ICE before #156619, none after.
Closes #152415
r? @lcnr
LLM disclosure
The task itself came from the issue (find the fixing PR and add a test).
I used an LLM to run the bisect and the before/after builds of #156619,
and to help write the test and draft some texts. I reviewed the test and
the results myself, so I understand the change.