10 lines
116 B
Rust
10 lines
116 B
Rust
#![feature(main)]
|
|
|
|
#[main]
|
|
fn bar() {
|
|
}
|
|
|
|
#[main]
|
|
fn foo() { //~ ERROR multiple functions with a #[main] attribute
|
|
}
|