//@ check-pass #![feature(sized_hierarchy)] #![feature(non_lifetime_binders)] //~^ WARN the feature `non_lifetime_binders` is incomplete use std::marker::PointeeSized; trait Trait {} impl Trait for i32 {} fn produce() -> impl for Trait { 16 } fn main() { let _ = produce(); }