1 // rustfmt-normalize_comments: true
2 // rustfmt-error_on_line_overflow: false
7 use syntax::ast::{ItemDefaultImpl, ItemForeignMod, ItemImpl, ItemMac, ItemMod, ItemStatic};
8 use exceedingly::looooooooooooooooooooooooooooooooooooooooooooooooooooooooooong::import::path::{ItemA,
10 use exceedingly::loooooooooooooooooooooooooooooooooooooooooooooooooooooooong::import::path::{ItemA,
13 use list::{// Another item
14 AnotherItem, // Another Comment
18 SomeItem /* Comment */};
20 use test::{/* A */ self /* B */, Other /* C */};
23 use {Bar /* comment */, /* Pre-comment! */ Foo};
25 pub use syntax::ast::{Expr, ExprAssign, ExprCall, ExprMethodCall, ExprPath, Expr_};
32 pub use syntax::ast::{ItemDefaultImpl, ItemForeignMod, ItemImpl, ItemMac, ItemMod, ItemStatic};
35 pub use syntax::ast::{self, ItemDefaultImpl, ItemForeignMod, ItemImpl, ItemMac, ItemMod,
47 use bar::quux as kaas;
51 use foo::{self as bar, baz};
54 use foo::{baz, qux as bar};
56 // With absolute paths
67 // spaces used to cause glob imports to disappear (#1356)
69 use foo::issue_1356::*;
71 // We shouldn't remove imports which have attributes attached (#1858)