1 2 3 4 5 6 7 8
trait Bar {} impl Bar for i32 { const BAR: bool = true; //~ ERROR E0438 } fn main () { }