E0251 - Error codes index
Description: Book listing all Rust error codes

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

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

Two items of the same name cannot be imported without rebinding one of the items under a new local name.

An example of this error:

    use foo::baz;
    use bar::*; // error, do `use foo::baz as quux` instead on the previous line

    fn main() {}

    mod foo {
        pub struct baz;
    }

    mod bar {
        pub mod baz {}
    }