Sign in
rust
/
rust
/
HEAD
/
.
/
tests
/
ui
/
traits
/
missing-trait-bounds
/
derive-clone-missing-bound-69725.fixed
blob: aea046b1e771aa29a94c715c728ba36cdc5749d2 [
file
]
//@ run-rustfix
//@ aux-build:struct-69725.rs
#![allow(dead_code)]
extern
crate struct_69725
;
use
struct_69725
::
Struct
;
fn crash
<
A
>()
where
A
:
Clone
{
let
_
=
Struct
::<
A
>::
new
().
clone
();
//~^ ERROR: the method
}
fn main
()
{}