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
This is a duplicate of #13169. Chalk has some problems when trait objects interact with supertraits and unfortunately we can only wait for upstream to fix the underlying problem.
In my codebase, when I alias a Fn trait, although rustc compiles it fine, R-A complains about type mismatch:
I extracted a short example based on what I implemented:
https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=75d946a49d2296d3defd525590b366b5
I couldn't find any related issue. It looks like R-A doesn't know that the Output is actually a bool.
rust-analyzer version: 0.3.1361-standalone
rustc: 1.66.1 (90743e729 2023-01-10)
The text was updated successfully, but these errors were encountered: