//@ check-pass struct Foo; impl Foo { const VALUE: usize = N * 2; } trait Bar { const ASSOC: usize; } impl Bar for Foo { const ASSOC: usize = N * 3; } fn main() {}