1 #### Note: this error code is no longer emitted by the compiler.
3 More than one function was declared with the `#[main]` attribute.
5 Erroneous code example:
14 fn f() {} // error: multiple functions with a `#[main]` attribute
17 This error indicates that the compiler found multiple functions with the
18 `#[main]` attribute. This is an error because there must be a unique entry
19 point into a Rust program. Example: