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
/
tests
/
ui
/
test-attrs
/
test-main-not-dead.rs
7 lines
83 B
Rust
Raw
Normal View
History
Unescape
Escape
tests: Add missing run-pass annotations
2019-07-27 00:54:25 +03:00
// run-pass
Mark main-like functions allow(dead_code) in tests Fixes #12327.
2015-08-23 21:46:10 -04:00
// compile-flags: --test
#![
deny(dead_code)
]
fn
main
(
)
{
panic!
(
)
;
}
Reference in New Issue
Copy Permalink