mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-16 05:56:56 +00:00
14 lines
207 B
Rust
14 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>;
|
|
}
|