13 lines
207 B
Rust
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>;
|
|
}
|