15 lines
230 B
Rust
15 lines
230 B
Rust
//@ known-bug: rust-lang/rust#125556
|
|
//@ compile-flags: -Znext-solver=coherence
|
|
|
|
#![feature(generic_const_exprs)]
|
|
|
|
pub struct A<const z: [usize; x]> {}
|
|
|
|
impl A<2> {
|
|
pub const fn B() {}
|
|
}
|
|
|
|
impl A<2> {
|
|
pub const fn B() {}
|
|
}
|