Skip to content

Commit ea5197c

Browse files
committed
Add PartialEq
1 parent 3cf3ed7 commit ea5197c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libsyntax/ast.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -853,13 +853,13 @@ pub struct Field {
853853

854854
pub type SpannedIdent = Spanned<Ident>;
855855

856-
#[derive(Clone, RustcEncodable, RustcDecodable, Debug, Copy)]
856+
#[derive(Clone, PartialEq, RustcEncodable, RustcDecodable, Debug, Copy)]
857857
pub enum BlockCheckMode {
858858
Default,
859859
Unsafe(UnsafeSource),
860860
}
861861

862-
#[derive(Clone, RustcEncodable, RustcDecodable, Debug, Copy)]
862+
#[derive(Clone, PartialEq, RustcEncodable, RustcDecodable, Debug, Copy)]
863863
pub enum UnsafeSource {
864864
CompilerGenerated,
865865
UserProvided,

0 commit comments

Comments
 (0)