1 #![feature(const_trait_impl)]
11 #[default_method_body_is_const]
19 } //~^^ ERROR const trait implementations may not use non-const default functions
21 impl const Tr for u8 {
26 impl const Tr for u16 {
29 } //~^^^ ERROR not all trait items implemented
32 impl const Tr for u32 {
35 } //~^^^ ERROR const trait implementations may not use non-const default functions