// revisions: current next //[next] compile-flags: -Ztrait-solver=next #![feature(auto_traits)] #![feature(negative_impls)] unsafe auto trait Trait { type Output; //~ ERROR E0380 } fn call_method(x: T) {} fn main() { // ICE call_method(()); }