Skip to content

Commit f6d3b02

Browse files
committed
---
yaml --- r: 4555 b: refs/heads/master c: 14b3ad1 h: refs/heads/master i: 4553: 4937bb0 4551: 29f8139 v: v3
1 parent 21790bb commit f6d3b02

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

[refs]

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 0f8e58e3ce2a4d6584f5e56b76eccb3887d09aac
2+
refs/heads/master: 14b3ad194ac80ec0bb4e6f570113bf15db587449

trunk/src/comp/middle/typeck.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2686,7 +2686,7 @@ fn check_main_fn_ty(tcx: &ty::ctxt, main_id: &ast::node_id) {
26862686
}
26872687
}
26882688
_ {
2689-
tcx.sess.err("Main has a non-function type: found" +
2689+
tcx.sess.bug("main has a non-function type: found" +
26902690
ty_to_str(tcx, main_t));
26912691
}
26922692
}

0 commit comments

Comments
 (0)