rust/tests/crashes/123863.rs
2024-04-18 06:13:47 +02:00

7 lines
180 B
Rust

//@ known-bug: #123863
const fn concat_strs<const A: &'static str>() -> &'static str {
struct Inner<const A: &'static str>;
Inner::concat_strs::<"a">::A
}
pub fn main() {}