#![feature(sized_hierarchy)] #![feature(non_lifetime_binders)] //~^ WARN the feature `non_lifetime_binders` is incomplete use std::marker::PointeeSized; trait Other: PointeeSized {} impl Other for U {} #[rustfmt::skip] fn foo() where for T: Other {} fn bar() { foo::<_>(); //~^ ERROR the trait bound `T: Other<_>` is not satisfied } fn main() {}