rust/tests/ui/missing-trait-bounds/auxiliary/issue-69725.rs

9 lines
114 B
Rust

#[derive(Clone)]
pub struct Struct<A>(A);
impl<A> Struct<A> {
pub fn new() -> Self {
todo!()
}
}