1 // rustfmt-normalize_comments: true
2 // rustfmt-error_on_line_overflow: false
7 use syntax::ast::{ItemForeignMod, ItemImpl, ItemMac, ItemMod, ItemStatic, ItemDefaultImpl};
8 use exceedingly::looooooooooooooooooooooooooooooooooooooooooooooooooooooooooong::import::path::{ItemA, ItemB};
9 use exceedingly::loooooooooooooooooooooooooooooooooooooooooooooooooooooooong::import::path::{ItemA, ItemB};
13 SomeItem /* Comment */, /* Another item */ AnotherItem /* Another Comment */, // Last Item
17 use test::{ Other /* C */ , /* A */ self /* B */ };
20 use {/* Pre-comment! */
21 Foo, Bar /* comment */};
23 pub use syntax::ast::{Expr_, Expr, ExprAssign, ExprCall, ExprMethodCall, ExprPath};
31 pub use syntax::ast::{
41 pub use syntax::ast::{ItemForeignMod, ItemImpl, ItemMac, ItemMod, ItemStatic, self, ItemDefaultImpl};
51 use foo::bar::baz as baz ;
52 use bar::quux as kaas;
56 use foo::{self as bar, baz};
57 use foo::{self as bar};
58 use foo::{qux as bar};
59 use foo::{baz, qux as bar};
61 // With absolute paths
64 use ::foo::{Bar, Baz};
72 // spaces used to cause glob imports to disappear (#1356)
74 use foo::issue_1356:: * ;