Lowercase the "wrong type in main fn" error
This commit is contained in:
parent
32438e82b3
commit
0f8e58e3ce
4 changed files with 4 additions and 4 deletions
|
|
@ -2681,7 +2681,7 @@ fn check_main_fn_ty(tcx: &ty::ctxt, main_id: &ast::node_id) {
|
|||
ok &=
|
||||
num_args == 0u || num_args == 1u && arg_is_argv_ty(tcx, args.(0));
|
||||
if !ok {
|
||||
tcx.sess.err("Wrong type in main function: found " +
|
||||
tcx.sess.err("wrong type in main function: found " +
|
||||
ty_to_str(tcx, main_t));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue