rust/src/test/ui/issues/issue-69725.rs

12 lines
199 B
Rust

// aux-build:issue-69725.rs
extern crate issue_69725;
use issue_69725::Struct;
fn crash<A>() {
let _ = Struct::<A>::new().clone();
//~^ ERROR: no method named `clone` found
}
fn main() {}