File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ mod tests;
8
8
///
9
9
/// This function will use an SSE2 enhanced implementation if hardware support
10
10
/// is detected at runtime.
11
- pub fn analyze_source_file ( src : & str ) -> ( Vec < RelativeBytePos > , Vec < MultiByteChar > ) {
11
+ pub ( crate ) fn analyze_source_file ( src : & str ) -> ( Vec < RelativeBytePos > , Vec < MultiByteChar > ) {
12
12
let mut lines = vec ! [ RelativeBytePos :: from_u32( 0 ) ] ;
13
13
let mut multi_byte_chars = vec ! [ ] ;
14
14
Original file line number Diff line number Diff line change 30
30
#![ feature( round_char_boundary) ]
31
31
#![ feature( rustc_attrs) ]
32
32
#![ feature( rustdoc_internals) ]
33
+ #![ warn( unreachable_pub) ]
33
34
// tidy-alphabetical-end
34
35
35
36
// The code produced by the `Encodable`/`Decodable` derive macros refer to
Original file line number Diff line number Diff line change @@ -424,7 +424,7 @@ impl Span {
424
424
}
425
425
426
426
#[ derive( Default ) ]
427
- pub struct SpanInterner {
427
+ pub ( crate ) struct SpanInterner {
428
428
spans : FxIndexSet < SpanData > ,
429
429
}
430
430
You can’t perform that action at this time.
0 commit comments