Skip to content

Commit 64c38b7

Browse files
committed
Remove Clone impl from CycleError.
It's unused.
1 parent a42c062 commit 64c38b7

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
@@ -61,7 +61,7 @@ pub enum CycleErrorHandling {
6161
Stash,
6262
}
6363

64-
#[derive(Clone, Debug)]
64+
#[derive(Debug)]
6565
pub struct CycleError<I = QueryStackFrameExtra> {
6666
/// The query and related span that uses the cycle.
6767
pub usage: Option<Spanned<QueryStackFrame<I>>>,

0 commit comments

Comments
 (0)