1 // rustfmt-normalize_comments: true
2 // rustfmt-error_on_line_overflow: false
7 use exceedingly::loooooooooooooooooooooooooooooooooooooooooooooooooooooooong::import::path::{
10 use exceedingly::looooooooooooooooooooooooooooooooooooooooooooooooooooooooooong::import::path::{
13 use syntax::ast::{ItemDefaultImpl, ItemForeignMod, ItemImpl, ItemMac, ItemMod, ItemStatic};
17 AnotherItem, // Another Comment
24 use test::{/* A */ self /* B */, Other /* C */};
27 pub use syntax::ast::{Expr, ExprAssign, ExprCall, ExprMethodCall, ExprPath, Expr_};
29 use {Bar /* comment */, /* Pre-comment! */ Foo};
35 pub use syntax::ast::{
36 ItemDefaultImpl, ItemForeignMod, ItemImpl, ItemMac, ItemMod, ItemStatic,
40 pub use syntax::ast::{
41 self, ItemDefaultImpl, ItemForeignMod, ItemImpl, ItemMac, ItemMod, ItemStatic,
52 use bar::quux as kaas;
59 use foo::{self as bar, baz};
60 use foo::{baz, qux as bar};
62 // With absolute paths
73 // spaces used to cause glob imports to disappear (#1356)
75 use foo::issue_1356::*;
77 // We shouldn't remove imports which have attributes attached (#1858)
86 foo::{a, b, cxxxxxxxxxxxxx, yyyyyyyyyyyyyy, zzzzzzzzzzzzzzzz},
87 qux, xxxxxxxxxxx, yyyyyyyyyyyyy, zzzzzzzzzzzzzzzz,
94 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy,
95 zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz,
103 api::{Api, ApiError},
104 blockchain::{self, BlockProof, Blockchain, Transaction, TransactionSet},
105 crypto::{Hash, PublicKey},
107 node::TransactionSend,
108 storage::{ListProof, MapProof},
111 // nested imports with a single sub-tree.
114 use a::b::c::{xxx, yyy, zzz};
117 /// This line is not affected.
118 // This line is deleted.
123 use imports_with_attr;