fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1// run-rustfix 2// aux-build:issue-69725.rs 3#![allow(dead_code)] 4 5extern crate issue_69725; 6use issue_69725::Struct; 7 8fn crash<A>() where A: Clone { 9 let _ = Struct::<A>::new().clone(); 10 //~^ ERROR: the method 11} 12 13fn main() {}