This commit is contained in:
Jonathan Turner 2016-05-17 11:27:58 -04:00
parent 175ecfefd5
commit c1c1ad5ec5

View File

@ -367,7 +367,8 @@ impl EmitterWriter {
let mut output_vec = vec![];
for span_label in msp.span_labels() {
let mut snippet_data = snippet_data.clone();
let mut snippet_data = SnippetData::new(self.cm.clone(),
Some(span_label.span));
snippet_data.push(span_label.span,
span_label.is_primary,