You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Narrowed down the problem to the call to vec::filter in prune_private_pass.rs. When I changed it to filtered, the problem went away. I'll file a separate bug for that. In the meantime, fixed in 0c05a6c
Add a cast to the suggestion when the return expression has adjustments.
These adjustments are lost when the suggestion is applied.
This is similar to the problem in issue rust-lang#4437.
Closesrust-lang#5729
flip1995
pushed a commit
to flip1995/rust
that referenced
this issue
Aug 28, 2020
Fix `let_and_return` bad suggestion
Add a cast to the suggestion when the return expression has adjustments.
These adjustments are lost when the suggestion is applied.
This is similar to the problem in issue rust-lang#4437.
Closesrust-lang#5729
changelog: Fix `let_and_return` bad suggestion
rustdoctest tests segfault. Whatever commit introduced the problem, it wasn't one of the last 20 that show up on the buildbot console.
The text was updated successfully, but these errors were encountered: