rust/src/test/ui/chalkify/lower_struct.rs

9 lines
140 B
Rust

// check-pass
// compile-flags: -Z chalk
struct Foo<'a, T> where Box<T>: Clone {
_x: std::marker::PhantomData<&'a T>,
}
fn main() { }