blob: 64634e7b7ac300e87538c1df2a9d1b5a73981c13 [file] [log] [blame] [edit]
#![allow(incomplete_features)]
#![feature(generic_const_exprs, const_trait_impl, effects)]
const fn with_positive<F: ~const Fn()>() {}
//~^ ERROR `~const` can only be applied to `#[const_trait]` traits
pub fn main() {}