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
rust
/
src
/
test
/
compile-fail
/
missing-return.rs
11 lines
83 B
Rust
Raw
Normal View
History
Unescape
Escape
Switch xfail system to use comments embedded in source files.
2011-03-25 12:19:20 -07:00
// xfail-stage0
Ensure that functions that should return a value do; issue 41
2010-07-16 15:33:30 -07:00
// error-pattern: return
fn
f
(
)
->
int
{
}
fn
main
(
)
{
f
(
)
;
}
Reference in New Issue
Copy Permalink