Uh oh!
There was an error while loading. Please reload this page.
Handle more span edge cases in generics diagnostics - #83759
Conversation
776cc42 to
3a7c076Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
the8472
commented
Apr 2, 2021
@Dylan-DPC this is missing an assignee |
Dylan-DPC-zz
commented
Apr 2, 2021
r? @estebank |
bors
commented
May 10, 2021
☔ The latest upstream changes (presumably #85150) made this pull request unmergeable. Please resolve the merge conflicts. |
105f916 to
c1c6d8fComparebors
commented
May 11, 2021
☔ The latest upstream changes (presumably #82272) made this pull request unmergeable. Please resolve the merge conflicts. |
estebank
commented
May 12, 2021
@SkiFire13 apologies for the delay and the significant divergence introduced by #82272. That PR touches a lot of code that affects the same output you were trying to improve. Would you be interested in trying to port your changes to the new approach? |
SkiFire13
commented
May 12, 2021
Don't worry, I feel like if my PR would have been merged before it would have been harder to rebase #82272. I'm currently working on rebasing it. |
estebank
commented
May 12, 2021
@bors r+ |
bors
commented
May 12, 2021
📌 Commit 7f5ad61 has been approved by |
bors
commented
May 13, 2021
bors
commented
May 13, 2021
☀️ Test successful - checks-actions |
Fix missing lifetimes diagnostics after rust-lang#83759 In rust-lang#83759 while rebasing I didn't realize there was a new function for suggesting to add lifetime arguments. It relied on some invariants, namely that if a generic type/trait has angle brackets then it must have some generic argument, which is now no longer true. This PR updates that function to handle the new invariants. This also adds a new regression test but I'm not sure if that's the correct place for it. Fixesrust-lang#85347
…laumeGomez Rollup of 5 pull requests Successful merges: - rust-lang#85275 (Move `std::memchr` to `sys_common`) - rust-lang#85326 (bootstrap: ensure host std when cross-compiling tools, fixesrust-lang#85320) - rust-lang#85375 (Fix missing lifetimes diagnostics after rust-lang#83759) - rust-lang#85507 (Extend escape key check) - rust-lang#85509 (Prevent tab title to "null" if the URL is a search one) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
This should fix invalid suggestions that didn't account for empty bracket pairs (
<>) or type bindings.