]> git.lizzy.rs Git - rust.git/blob - src/test/ui/attributes/main-removed-2/main.rs
Remove obsolete no-op #[main] attribute from compiler.
[rust.git] / src / test / ui / attributes / main-removed-2 / main.rs
1 // run-pass
2 // aux-build:tokyo.rs
3 // compile-flags:--extern tokyo
4 // edition:2021
5
6 use tokyo::main;
7
8 #[main]
9 fn main() {
10     panic!("the #[main] macro should replace this with non-panicking code")
11 }