Uh oh!
There was an error while loading. Please reload this page.
rustdoc: add a couple of regression tests - #123348
Conversation
| @@ -0,0 +1,23 @@ | |||
| // We you used to ICE here while trying to synthesize auto trait impls. | |||
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
GuillaumeGomez
left a comment
There was a problem hiding this comment.
Thanks! r=me once typos are fixed.
6af717a to
f45eaf8Comparefmease
commented
Apr 2, 2024
@bors r=GuillaumeGomez rollup |
bors
commented
Apr 2, 2024
bors
commented
Apr 2, 2024
…sts, r=GuillaumeGomez rustdoc: add a couple of regression tests Fixesrust-lang#114657. Fixesrust-lang#112828. Fixesrust-lang#112242. Fixesrust-lang#107715. r? rustdoc
This comment has been minimized.
This comment has been minimized.
bors
commented
Apr 2, 2024
💔 Test failed - checks-actions |
fmease
commented
Apr 2, 2024
o.O |
GuillaumeGomez
commented
Apr 2, 2024
Maybe it's because of changes in your other PR? |
Right, I've intentionally changed a
|
Should I implement the hot fix (single line change back to the old behavior) to fix the regressions from my simplification PR or should I postpone? |
GuillaumeGomez
commented
Apr 2, 2024
Remove the failing test from here and do the hotfix in another PR? |
f45eaf8 to
5ee4d13Comparefmease
commented
Apr 2, 2024
I've removed the failing test. Hot fix coming up in a sec. |
bors
commented
Apr 2, 2024
…tests, r=GuillaumeGomez rustdoc: add a couple of regression tests Fixesrust-lang#114657. Fixesrust-lang#112828. Fixesrust-lang#107715. r? rustdoc
…uillaumeGomez rustdoc: synthetic auto trait impls: accept unresolved region vars for now rust-lang#123348 (comment): > Right, [in rust-lang#123340] I've intentionally changed a `vid_map.get(vid).unwrap_or(r)` to a `vid_map[vid]` making rustdoc panic if `rustc::AutoTraitFinder` returns a region inference variable that cannot be resolved because that is really fishy. I can change it back with a `FIXME: investigate` […]. [O]nce I [fully] understand [the arcane] `rustc::AutoTraitFinder` [I] can fix the underlying issue if there's one. > > `rustc::AutoTraitFinder` can also return placeholder regions `RePlaceholder` which doesn't seem right either and which makes rustdoc ICE, too (we have a GitHub issue for that already[, namely rust-lang#120606]). Fixesrust-lang#123370. Fixesrust-lang#112242. r? `@GuillaumeGomez`
…uillaumeGomez rustdoc: synthetic auto trait impls: accept unresolved region vars for now rust-lang#123348 (comment): > Right, [in rust-lang#123340] I've intentionally changed a `vid_map.get(vid).unwrap_or(r)` to a `vid_map[vid]` making rustdoc panic if `rustc::AutoTraitFinder` returns a region inference variable that cannot be resolved because that is really fishy. I can change it back with a `FIXME: investigate` […]. [O]nce I [fully] understand [the arcane] `rustc::AutoTraitFinder` [I] can fix the underlying issue if there's one. > > `rustc::AutoTraitFinder` can also return placeholder regions `RePlaceholder` which doesn't seem right either and which makes rustdoc ICE, too (we have a GitHub issue for that already[, namely rust-lang#120606]). Fixesrust-lang#123370. Fixesrust-lang#112242. r? ``@GuillaumeGomez``
…iaskrgr Rollup of 8 pull requests Successful merges: - rust-lang#123198 (Add fn const BuildHasherDefault::new) - rust-lang#123226 (De-LLVM the unchecked shifts [MCP#693]) - rust-lang#123302 (Make sure to insert `Sized` bound first into clauses list) - rust-lang#123348 (rustdoc: add a couple of regression tests) - rust-lang#123362 (Check that nested statics in thread locals are duplicated per thread.) - rust-lang#123368 (CFI: Support non-general coroutines) - rust-lang#123375 (rustdoc: synthetic auto trait impls: accept unresolved region vars for now) - rust-lang#123378 (Update sysinfo to 0.30.8) Failed merges: - rust-lang#123349 (Fix capture analysis for by-move closure bodies) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#123375 - fmease:rustdoc-sati-re-hotfix, r=GuillaumeGomez rustdoc: synthetic auto trait impls: accept unresolved region vars for now rust-lang#123348 (comment): > Right, [in rust-lang#123340] I've intentionally changed a `vid_map.get(vid).unwrap_or(r)` to a `vid_map[vid]` making rustdoc panic if `rustc::AutoTraitFinder` returns a region inference variable that cannot be resolved because that is really fishy. I can change it back with a `FIXME: investigate` […]. [O]nce I [fully] understand [the arcane] `rustc::AutoTraitFinder` [I] can fix the underlying issue if there's one. > > `rustc::AutoTraitFinder` can also return placeholder regions `RePlaceholder` which doesn't seem right either and which makes rustdoc ICE, too (we have a GitHub issue for that already[, namely rust-lang#120606]). Fixesrust-lang#123370. Fixesrust-lang#112242. r? ``@GuillaumeGomez``
Rollup merge of rust-lang#123348 - fmease:add-synth-auto-trait-impls-tests, r=GuillaumeGomez rustdoc: add a couple of regression tests Fixesrust-lang#114657. Fixesrust-lang#112828. Fixesrust-lang#107715. r? rustdoc
Fixes#114657.
Fixes#112828.
Fixes#107715.
r? rustdoc