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

An auto trait was declared with a method or an associated item.

Erroneous code example:

    #![allow(unused)]
    fn main() {
    unsafe auto trait Trait {
        type Output; // error!
    }
    }

Auto traits cannot have methods or associated items. For more information see the opt-in builtin traits RFC.