rust/tests/crashes/136175-2.rs
2025-03-08 20:13:07 +01:00

13 lines
207 B
Rust

//@ known-bug: #136175
#![feature(generic_const_exprs)]
#![allow(incomplete_features)]
trait Trait {}
struct A<T>(T)
where
[(); std::mem::offset_of!((T,), 0)]:;
fn main() {
let x: A<dyn Trait>;
}