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
Oh, I forgot about that. Hmm having it return an Option does make sense then given we might want to support rlibs someday. We should at least have a comment on the trait then describing this design.
None of the implementations ever return
None
, so it should not return an option either. https://github.com/veykril/rust-analyzer/blob/9476fdaaa96323800b43c528e59617b14908d6a2/crates/hir/src/has_source.rs#L23The text was updated successfully, but these errors were encountered: