This website requires JavaScript.
Explore
Help
Sign In
languages
/
rust
Watch
1
Star
0
Fork
You've already forked rust
0
mirror of
https://github.com/rust-lang/rust
synced
2024-10-01 22:34:35 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
0cddcac016
rust
/
src
/
test
/
compile-fail
/
missing-main.rs
2 lines
54 B
Rust
Raw
Normal View
History
Unescape
Escape
Make resolve and the typechecker check for a main fn of the correct type This means if a non-library program leaves out the main program, the error gets caught earlier than link. Closes #626.
2011-07-14 00:26:06 +00:00
// error-pattern:Main function not found
Reformat for new syntax
2011-07-27 12:19:39 +00:00
fn
mian
(
)
{
}
Reference in a new issue
Copy permalink