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 Dec 29, 2022. 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 :-(
Originally created by @jendrikw (rust-dev-tools/rls-analysis#136):
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: