//@ check-pass #![feature(adt_const_params, unsized_const_params)] #![allow(incomplete_features)] trait Bar {} impl Bar<"asdf"> for () {} fn foo() -> impl Bar<"asdf"> { () } fn main() {}