Content-Length: 12671 | pFad | https://doc.rust-lang.org/std/pin/../hash/../../std/sync/../../../std/../error_codes/./E0136.html

E0136 - Error codes index

Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Error code E0136

Note: this error code is no longer emitted by the compiler.

More than one main function was found.

Erroneous code example:

fn main() {
    // ...
}

// ...

fn main() { // error!
    // ...
}

A binary can only have one entry point, and by default that entry point is the main() function. If there are multiple instances of this function, please rename one of them.









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://doc.rust-lang.org/std/pin/../hash/../../std/sync/../../../std/../error_codes/./E0136.html

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy