Closed porglezomp closed 7 years ago
Hello Proglezomp! I definitely agree. Context based completions is just something I haven't got to with racer yet. This one should be pretty easy though so now that you've asked for it I might try doing this after I've finished if-let statements (which is what I'm doing at the moment). Thanks!
Technically, the following code is valid:
use std::fmt::{Formatter, Formatter as Fmtr};
I have no idea why someone would do this, but since it's allowed I'm reluctant to have rust hide things that have already been imported in the current use
statement.
I was a little surprised to get this notification, but as far as I can tell the main issue here was resolved a while ago thanks to @yodalee, so I'm happy to have this issue closed.
It would be nice if line like
std::io::{
would complete the same asstd::io::
It would be even nicer if, for instanceuse std::rc::{Rc,
would recommend everything thatstd::rc::
recommends, except it would omitRc
since it's already being used.