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.