fork/rust
git clone https://git.julia.blue/fork/rust
8d69840ab92
1.43.1
1error[E0599]: no method named `clone` found for struct `issue_69725::Struct<A>` in the current scope 2 --> $DIR/issue-69725.rs:7:32 3 | 4LL | let _ = Struct::<A>::new().clone(); 5 | ^^^^^ method not found in `issue_69725::Struct<A>` 6 | 7 ::: $DIR/auxiliary/issue-69725.rs:2:1 8 | 9LL | pub struct Struct<A>(A); 10 | ------------------------ doesn't satisfy `issue_69725::Struct<A>: std::clone::Clone` 11 | 12 = note: the method `clone` exists but the following trait bounds were not satisfied: 13 `A: std::clone::Clone` 14 which is required by `issue_69725::Struct<A>: std::clone::Clone` 15 16error: aborting due to previous error 17 18For more information about this error, try `rustc --explain E0599`.