fn sub_with_highlights(&mut self,
                           level: Level,
                           message: Vec<(String, Style)>,
                           span: MultiSpan,
                           render_span: Option<RenderSpan>) {
        let sub = SubDiagnostic {
            level: level,
            message: message,
            span: span,
            render_span: render_span,
        };
        self.children.push(sub);
    }
/// Convenience function for internal use, clients should use one of the
/// public methods above.
Convenience function for internal use, clients should use one of the
public methods above.
Convenience function for internal use clients should use one of the public methods above .
fn sub_with_highlights(&mut self,
                           level: Level,
                           message: Vec<(String, Style)>,
                           span: MultiSpan,
                           render_span: Option<RenderSpan>) {
        let sub = SubDiagnostic {
            level: level,
            message: message,
            span: span,
            render_span: render_span,
        };
        self.children.push(sub);
    }
fn sub_with_highlights ( & mut self , level : Level , message : Vec < ( String , Style ) > , span : MultiSpan , render_span : Option < RenderSpan > ) { let sub = SubDiagnostic { level : level , message : message , span : span , render_span : render_span , } ; self . children . push ( sub ) ; }
Convenience function for internal use, clients should use one of the
public methods above.
Convenience function for internal use clients should use one of the public methods above .
&mut self
level
Level
message
Vec<(String, Style)>
span
MultiSpan
render_span
Option<RenderSpan>
&mut self
level
Level
message
Vec<(String, Style)>
span
MultiSpan
render_span
Option<RenderSpan>