This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
c53402846e
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-13 19:26:06 -05:00
// error-pattern:Main function not found
Reformat for new syntax
2011-07-27 07:19:39 -05:00
fn
mian
(
)
{
}
Reference in New Issue
Copy Permalink