//@ revisions: current next //@ ignore-compare-mode-next-solver (explicit revisions) //@[next] compile-flags: -Znext-solver // Make sure that having an applicable user-written // and builtin impl is ambiguous. trait Equals {} impl Equals for T {} fn impls_equals + ?Sized, U: ?Sized>() {} fn main() { impls_equals::, _>(); //~^ ERROR type annotations needed }