We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62878c2 commit 2792014Copy full SHA for 2792014
src/librustc_ast/util/parser.rs
@@ -5,7 +5,7 @@ use rustc_span::symbol::kw;
5
/// Associative operator with precedence.
6
///
7
/// This is the enum which specifies operator precedence and fixity to the parser.
8
-#[derive(PartialEq, Debug)]
+#[derive(Copy, Clone, PartialEq, Debug)]
9
pub enum AssocOp {
10
/// `+`
11
Add,
0 commit comments