Skip to content

Commit 1e52c89

Browse files
committed
Remove Clone impl from CycleError.
It's unused.
1 parent 7b994ed commit 1e52c89

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
@@ -59,7 +59,7 @@ pub enum CycleErrorHandling {
5959
DelayBug,
6060
}
6161

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

0 commit comments

Comments
 (0)