Skip to content

Commit 2a22689

Browse files
committed
---
yaml --- r: 4558 b: refs/heads/master c: 4ff6763 h: refs/heads/master v: v3
1 parent 5401cfd commit 2a22689

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 0cddcac0169a33163dc434eb325d48d7f193efc4
2+
refs/heads/master: 4ff6763b60a83ce698940a30dd3a34eb22f6b099

trunk/src/comp/middle/typeck.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2698,7 +2698,7 @@ fn check_for_main_fn(tcx: &ty::ctxt, crate: &@ast::crate) {
26982698
if !tcx.sess.get_opts().library {
26992699
alt tcx.sess.get_main_id() {
27002700
some(id) { check_main_fn_ty(tcx, id); }
2701-
none. { tcx.sess.span_err(crate.span, "Main function not found"); }
2701+
none. { tcx.sess.span_err(crate.span, "main function not found"); }
27022702
}
27032703
}
27042704
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
// error-pattern:Main function not found
1+
// error-pattern:main function not found
22
fn mian() { }

0 commit comments

Comments
 (0)