rust/tests/ui/issues/issue-22471.rs

8 lines
115 B
Rust

//@ check-pass
#![allow(dead_code)]
#![allow(type_alias_bounds)]
type Foo<T> where T: Copy = Box<T>;
fn main(){}