diff options
| author | flip1995 <hello@philkrones.com> | 2020-06-22 21:01:49 +0200 |
|---|---|---|
| committer | flip1995 <hello@philkrones.com> | 2020-06-22 21:01:49 +0200 |
| commit | 2792014ef4e2fdd02945f77cff19adf814f155d7 (patch) | |
| tree | 2c5f2140fe7a91eb6a8695d75e1e21206f0af2f3 | |
| parent | 62878c20e9ce146123fbac23a98e44dfaae95d69 (diff) | |
| download | rust-2792014ef4e2fdd02945f77cff19adf814f155d7.tar.gz rust-2792014ef4e2fdd02945f77cff19adf814f155d7.zip | |
Make AssocOp Copy
| -rw-r--r-- | src/librustc_ast/util/parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_ast/util/parser.rs b/src/librustc_ast/util/parser.rs index d8b44a22f2c..e5bcc571d41 100644 --- a/src/librustc_ast/util/parser.rs +++ b/src/librustc_ast/util/parser.rs @@ -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, |
