diff options
| author | Yuki Okushi <huyuumi.dev@gmail.com> | 2019-01-15 05:36:46 +0900 |
|---|---|---|
| committer | Yuki Okushi <huyuumi.dev@gmail.com> | 2019-01-15 05:36:46 +0900 |
| commit | ea5197c664bbd1f1f7e8210544a32f1cb1cdfaec (patch) | |
| tree | a7b24daff9e8ccd01f6c04300bcb849608818e92 /src/libsyntax | |
| parent | 3cf3ed787740a82b4f3ab76db454218177a7a08a (diff) | |
| download | rust-ea5197c664bbd1f1f7e8210544a32f1cb1cdfaec.tar.gz rust-ea5197c664bbd1f1f7e8210544a32f1cb1cdfaec.zip | |
Add PartialEq
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/ast.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/ast.rs b/src/libsyntax/ast.rs index e3a8980a975..99ab9fbcf5f 100644 --- a/src/libsyntax/ast.rs +++ b/src/libsyntax/ast.rs @@ -853,13 +853,13 @@ pub struct Field { pub type SpannedIdent = Spanned<Ident>; -#[derive(Clone, RustcEncodable, RustcDecodable, Debug, Copy)] +#[derive(Clone, PartialEq, RustcEncodable, RustcDecodable, Debug, Copy)] pub enum BlockCheckMode { Default, Unsafe(UnsafeSource), } -#[derive(Clone, RustcEncodable, RustcDecodable, Debug, Copy)] +#[derive(Clone, PartialEq, RustcEncodable, RustcDecodable, Debug, Copy)] pub enum UnsafeSource { CompilerGenerated, UserProvided, |
