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;
88///
99/// This function will use an SSE2 enhanced implementation if hardware support
1010/// 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 > ) {
1212 let mut lines = vec ! [ RelativeBytePos :: from_u32( 0 ) ] ;
1313 let mut multi_byte_chars = vec ! [ ] ;
1414
Original file line number Diff line number Diff line change 3030#![ feature( round_char_boundary) ]
3131#![ feature( rustc_attrs) ]
3232#![ feature( rustdoc_internals) ]
33+ #![ warn( unreachable_pub) ]
3334// tidy-alphabetical-end
3435
3536// 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 {
424424}
425425
426426#[ derive( Default ) ]
427- pub struct SpanInterner {
427+ pub ( crate ) struct SpanInterner {
428428 spans : FxIndexSet < SpanData > ,
429429}
430430
You can’t perform that action at this time.
0 commit comments