Useful derives on mir::LocalKind
This commit is contained in:
parent
4d52dc4790
commit
4d343a5e59
1 changed files with 1 additions and 1 deletions
|
@ -670,7 +670,7 @@ impl Atom for Local {
|
|||
}
|
||||
|
||||
/// Classifies locals into categories. See `Body::local_kind`.
|
||||
#[derive(PartialEq, Eq, Debug, HashStable)]
|
||||
#[derive(Clone, Copy, PartialEq, Eq, Debug, HashStable)]
|
||||
pub enum LocalKind {
|
||||
/// User-declared variable binding.
|
||||
Var,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue