1#### Note: this error code is no longer emitted by the compiler.
2
3▶More than one function was declared with the `#[main]` attribute.
4
5Erroneous code example:
· · ·
6
7```compile_fail
8▶#![feature(main)]
9
10#[main]
· · ·
10▶#[main]
11fn foo() {}
12
· · ·
13▶#[main]
14fn f() {} // error: multiple functions with a `#[main]` attribute
15```
· · ·
14▶fn f() {} // error: multiple functions with a `#[main]` attribute
15```
16
+ 4 more matches in this file