[−][src]Function fungui_syntax::format_error
pub fn format_error<'a, I, W>(
w: W,
source: I,
pos: Position,
len: usize,
msg: &str,
label: &str
) -> Result<()> where
W: Write,
I: Iterator<Item = &'a str>,
Formats the error in a user friendly format