Function rustc_errors::push_trailing
source · pub(crate) fn push_trailing(
buf: &mut String,
line_opt: Option<&Cow<'_, str>>,
lo: &Loc,
hi_opt: Option<&Loc>
) -> usizeExpand description
Append to a buffer the remainder of the line of existing source code, and return the count of lines that have been added for accurate highlighting.