2023-10-26 08:24:25 +00:00

13 lines
147 B
Rust

#![feature(const_trait_impl, effects)]
pub const fn foo() {}
#[const_trait]
pub trait Bar {
fn bar();
}
impl Bar for () {
fn bar() {}
}