rust/tests/crashes/126269.rs
Matthias Krüger ff096f83f7 more ice tests
2024-06-16 20:38:08 +02:00

13 lines
194 B
Rust

//@ known-bug: rust-lang/rust#126269
#![feature(coerce_unsized)]
pub enum Foo<T> {
Bar([T; usize::MAX]),
}
use std::ops::CoerceUnsized;
impl<T, U> CoerceUnsized<U> for T {}
fn main() {}