## 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 E0761

Multiple candidate files were found for an out-of-line module.

Erroneous code example:

    // file: ambiguous_module/mod.rs

    fn foo() {}

    // file: ambiguous_module.rs

    fn foo() {}

    // file: lib.rs

    mod ambiguous_module; // error: file for module `ambiguous_module`
                          // found at both ambiguous_module.rs and
                          // ambiguous_module/mod.rs

Please remove this ambiguity by deleting/renaming one of the candidate files.