Skip to content

Commit 46c2b5b

Browse files
committed
Lets see if changing span_fatal to span_err gets me further through make check.
1 parent 880e300 commit 46c2b5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/front/test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ fn is_test_fn(cx: @mut TestCtxt, i: @ast::item) -> bool {
190190

191191
if has_test_attr && !has_test_signature(i) {
192192
let sess = cx.sess;
193-
sess.span_fatal(
193+
sess.span_err(
194194
i.span,
195195
~"functions used as tests must have signature fn() -> ()."
196196
);

0 commit comments

Comments
 (0)