[rust-dev] resolving 'str'

Phil Dawes rustphil at phildawes.net
Sat Jul 26 02:39:46 PDT 2014


I'm trying to make racer resolve '&str' types properly. I've read that the
separation of type and value namespaces means you can refer both to the
'str' type and the 'str' module[1]. However I would have thought that the
'str' type lives in the type namespace, and according to the reference
guide modules and types share the same namespace. How should racer resolve
the type?

Thanks v much,


[1] http://tomlee.co/2014/04/03/a-more-detailed-tour-of-the-rust-compiler/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/rust-dev/attachments/20140726/e38be732/attachment.html>

More information about the Rust-dev mailing list