Skip to content

Commit 13d51af

Browse files
committed
restrict pub to crate
1 parent cf577f3 commit 13d51af

File tree

1 file changed

+4
-4
lines changed
  • compiler/rustc_parse_format/src

1 file changed

+4
-4
lines changed

compiler/rustc_parse_format/src/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818

1919
use std::{iter, str, string};
2020

21-
pub use Alignment::*;
22-
pub use Count::*;
23-
pub use Piece::*;
24-
pub use Position::*;
21+
pub(crate) use Alignment::*;
22+
pub(crate) use Count::*;
23+
pub(crate) use Piece::*;
24+
pub(crate) use Position::*;
2525
use rustc_lexer::unescape;
2626

2727
// Note: copied from rustc_span

0 commit comments

Comments
 (0)