about summary refs log tree commit diff
path: root/src/comp
diff options
context:
space:
mode:
authorGraydon Hoare <graydon@mozilla.com>2011-07-12 17:36:40 -0700
committerGraydon Hoare <graydon@mozilla.com>2011-07-12 17:36:57 -0700
commite53cfb979b20b357b09e4fcd63278c1f58e19c5e (patch)
treed6d3d622c8a10fd0a505fb991bb7d38dac580cc5 /src/comp
parent2e827eab241e5699dea840ae5fa6b1bdd9570aff (diff)
downloadrust-e53cfb979b20b357b09e4fcd63278c1f58e19c5e.tar.gz
rust-e53cfb979b20b357b09e4fcd63278c1f58e19c5e.zip
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.
Diffstat (limited to 'src/comp')
-rw-r--r--src/comp/syntax/codemap.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/comp/syntax/codemap.rs b/src/comp/syntax/codemap.rs
index 34b5a02112f..6df2f2422ad 100644
--- a/src/comp/syntax/codemap.rs
+++ b/src/comp/syntax/codemap.rs
@@ -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) { }
     }