File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
compiler/rustc_errors/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -174,7 +174,7 @@ pub struct SubstitutionPart {
174
174
/// Used to translate between `Span`s and byte positions within a single output line in highlighted
175
175
/// code of structured suggestions.
176
176
#[ derive( Debug , Clone , Copy ) ]
177
- pub struct SubstitutionHighlight {
177
+ pub ( crate ) struct SubstitutionHighlight {
178
178
start : usize ,
179
179
end : usize ,
180
180
}
@@ -201,7 +201,7 @@ impl SubstitutionPart {
201
201
impl CodeSuggestion {
202
202
/// Returns the assembled code suggestions, whether they should be shown with an underline
203
203
/// and whether the substitution only differs in capitalization.
204
- pub fn splice_lines (
204
+ pub ( crate ) fn splice_lines (
205
205
& self ,
206
206
sm : & SourceMap ,
207
207
) -> Vec < ( String , Vec < SubstitutionPart > , Vec < Vec < SubstitutionHighlight > > , bool ) > {
You can’t perform that action at this time.
0 commit comments