rust/tests/crashes/136175.rs

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

14 lines
192 B
Rust
Raw Normal View History

2025-03-07 23:17:25 +01:00
//@ known-bug: #136175
#![feature(generic_const_exprs)]
#![allow(incomplete_features)]
trait Trait {}
struct A<T>(T)
where
[(); size_of::<T>()]:;
fn main() {
let x: A<dyn Trait>;
}