-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
T-dev-toolsRelevant to the development tools team, which will review and decide on the RFC.Relevant to the development tools team, which will review and decide on the RFC.
Description
Issue by bstrie
Monday Feb 04, 2013 at 19:05 GMT
For earlier discussion, see rust-lang/rust#4786
This issue was labelled with: A-pretty, A-resolve, I-wishlist in the Rust repository
13:58 < bstrie> is there a pretty-print mode to replace a glob import with a
precise list of names?
13:59 <@pcwalton> bstrie: no unfortunately
13:59 <@pcwalton> good idea though
So if I have a file with this:
use foo::*;
...and of all the things that foo
provides, I only ever end up using bar
and baz
, then it should rewrite the import to:
use foo::{bar, baz};
Metadata
Metadata
Assignees
Labels
T-dev-toolsRelevant to the development tools team, which will review and decide on the RFC.Relevant to the development tools team, which will review and decide on the RFC.