Only keep one version of ImplicitSelfKind.
This commit is contained in:
parent
5338f5f1d4
commit
ffe20d61d6
5 changed files with 13 additions and 38 deletions
|
@ -2661,7 +2661,7 @@ pub struct FnDecl<'hir> {
|
|||
}
|
||||
|
||||
/// Represents what type of implicit self a function has, if any.
|
||||
#[derive(Copy, Clone, Encodable, Decodable, Debug, HashStable_Generic)]
|
||||
#[derive(Copy, Clone, PartialEq, Eq, Encodable, Decodable, Debug, HashStable_Generic)]
|
||||
pub enum ImplicitSelfKind {
|
||||
/// Represents a `fn x(self);`.
|
||||
Imm,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue