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

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

This error indicates that a `#[non_exhaustive]` attribute was incorrectly placed on something other than a struct or enum.

Erroneous code example:

    #[non_exhaustive]
    trait Foo { }