mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
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() {}
|
|
}
|