fn pointers taking references are not Clone
#38382
Labels
A-typesystem
Area: The type system
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
The type
fn(&'a T)
implementsClone
, whilefn(&T)
does not. This presumably applies to more traits than justClone
.The text was updated successfully, but these errors were encountered: