rust/tests/crashes/138131.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
199 B
Rust
Raw Permalink Normal View History

2025-03-07 23:17:25 +01:00
//@ known-bug: #138131
#![feature(min_generic_const_args)]
#![feature(inherent_associated_types)]
struct Foo<'a> {
x: &'a (),
}
impl<'a> Foo<'a> {
fn foo(_: [u8; Foo::X]) {}
}
fn main() {}