Fix fast-check target by disabling code snippet printing on warnings (broken on .rc files) and adding an xfail-fast flag for global-scope.rs.
This commit is contained in:
parent
2e827eab24
commit
e53cfb979b
3 changed files with 7 additions and 2 deletions
|
@ -63,7 +63,10 @@ fn emit_diagnostic(&option::t[span] sp, &str msg, &str kind, u8 color,
|
|||
alt (sp) {
|
||||
case (some(?ssp)) {
|
||||
ss = span_to_str(ssp, cm);
|
||||
maybe_lines = some(span_to_lines(ssp, cm));
|
||||
|
||||
// FIXME: we're not able to look up lines read from .rc files yet.
|
||||
// maybe_lines = some(span_to_lines(ssp, cm));
|
||||
|
||||
}
|
||||
case (none) { }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue