Skip to content

Commit 1a2d07e

Browse files
committed
Formatting: don't mix mod and use
Seems to be a fallout from rustfmt transition
1 parent 7fdffe1 commit 1a2d07e

File tree

1 file changed

+5
-6
lines changed
  • src/librustc_parse/parser

1 file changed

+5
-6
lines changed

src/librustc_parse/parser/mod.rs

+5-6
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
pub mod attr;
2+
mod diagnostics;
23
mod expr;
4+
mod generics;
35
mod item;
46
mod nonterminal;
57
mod pat;
68
mod path;
7-
mod ty;
8-
pub use path::PathStyle;
9-
mod diagnostics;
10-
mod generics;
119
mod stmt;
12-
use diagnostics::Error;
13-
10+
mod ty;
1411

1512
use crate::lexer::UnmatchedBrace;
13+
use diagnostics::Error;
14+
pub use path::PathStyle;
1615

1716
use log::debug;
1817
use rustc_ast::ast::DUMMY_NODE_ID;

0 commit comments

Comments
 (0)