Make AssocOp Copy

This commit is contained in:
flip1995 2020-06-22 21:01:49 +02:00
parent 62878c20e9
commit 2792014ef4
No known key found for this signature in database
GPG key ID: 2CEFCDB27ED0BE79

View file

@ -5,7 +5,7 @@ use rustc_span::symbol::kw;
/// Associative operator with precedence.
///
/// This is the enum which specifies operator precedence and fixity to the parser.
#[derive(PartialEq, Debug)]
#[derive(Copy, Clone, PartialEq, Debug)]
pub enum AssocOp {
/// `+`
Add,