Skip to content

Commit bd3ad2f

Browse files
committed
Remove Clone impl from CycleError.
It's unused.
1 parent bea2eee commit bd3ad2f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

compiler/rustc_middle/src/query/plumbing.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ pub enum CycleErrorHandling {
6262
Stash,
6363
}
6464

65-
#[derive(Clone, Debug)]
65+
#[derive(Debug)]
6666
pub struct CycleError<I = QueryStackFrameExtra> {
6767
/// The query that uses the cycle, and the span corresponding to the reason for which the query
6868
/// was required.

0 commit comments

Comments
 (0)