#![feature(impl_trait_in_bindings)] trait Foo {} impl Foo<()> for () {} fn main() { let x: impl Foo = (); //~^ ERROR nested `impl Trait` is not allowed }