1 // Test that a method/associated non-method within an impl block of a concrete const type i.e. A<2>,
5 pub struct A<const N: u32>;
8 fn impl_method(&self) -> u32 {
12 fn associated_non_method() -> u32 {
19 assert_eq!(val.impl_method(), 17);
20 assert_eq!(A::<2>::associated_non_method(), 17);