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
Originally offending code was in this branch. It was resolved by coercing res using res as &mut Response.
The resolution is here.
The master branch will likely change, but I'll leave those two there if you think it will be helpful (though it is by no means a small, isolated example).
Add span to group.
This appears to fixrust-lang#14959, but I've never contributed to rust-analyzer before and there were some things that confused me:
- I had to add the `fn byte_range` method to get it to build. This was added to rust in [April](rust-lang#109002), so I don't understand why it wasn't needed until now
- When testing, I ran into the fact that rust recently updated its `METADATA_VERSION`, so I had to test this with nightly-2023-05-20. But then I noticed that rust has its own copy of `rust-analyzer`, and the metadata version bump has already been [handled there](rust-lang@60e95e7). So I guess I don't really understand the relationship between the code there and the code here.
Similar to #11612 but seems this seems to only happen in an overloaded call?
Adding an explicit cast works fine.
Reported originally by zzmp on IRC:
The text was updated successfully, but these errors were encountered: