1 // revisions: stock gated
2 // gate-test-const_trait_impl
4 #![cfg_attr(gated, feature(const_trait_impl))]
5 #![feature(rustc_attrs)]
10 //[stock]~^ ERROR const trait impls are experimental
13 fn main() {} //[gated]~ ERROR fatal error triggered by #[rustc_error]