E0454 - 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 E0454

A link name was given with an empty name.

Erroneous code example:

    #![allow(unused)]
    fn main() {
    #[link(name = "")] extern "C" {}
    // error: `#[link(name = "")]` given with empty name
    }

The rust compiler cannot link to an external library if you don’t give it its name. Example:

    #[link(name = "some_lib")] extern "C" {} // ok!