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
{{ message }}
This repository has been archived by the owner on Mar 1, 2019. It is now read-only.
qualname can be pretty buggy, I don't think the RLS uses it for anything. We should probably track all the bugs. And with the changes to imports happening in the 2018 edition, we will probably need to change some things anyway.
The first token in the qualname should be the crate name (up to ::) and where it isn't that is a bug, but as you've noticed there are a lot of bugs :-(
In src/lowering.rs#L275 crate_name and qualname are concatenated. This creates very interesting results for the qualname, for example:
std<f64>::cbrt
libc::unix::::readdir
(not sure if this one belong here)core<char>::is_lowercase
alloc<[T]>::into_vec
Why is this done and how are you supposed to get the crate name form this?
The text was updated successfully, but these errors were encountered: