2 #![feature(const_fn_trait_bound, const_trait_impl, inline_const, negative_impls)]
4 const fn f<T: ~const Drop>(x: T) {}
8 impl Drop for UnconstDrop {
14 impl !Drop for NonDrop {}
19 //~^ ERROR the trait bound `UnconstDrop: ~const Drop` is not satisfied
21 //~^ ERROR the trait bound `NonDrop: ~const Drop` is not satisfied