Useful derives on mir::LocalKind
This commit is contained in:
@@ -670,7 +670,7 @@ impl Atom for Local {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Classifies locals into categories. See `Body::local_kind`.
|
/// Classifies locals into categories. See `Body::local_kind`.
|
||||||
#[derive(PartialEq, Eq, Debug, HashStable)]
|
#[derive(Clone, Copy, PartialEq, Eq, Debug, HashStable)]
|
||||||
pub enum LocalKind {
|
pub enum LocalKind {
|
||||||
/// User-declared variable binding.
|
/// User-declared variable binding.
|
||||||
Var,
|
Var,
|
||||||
|
|||||||
Reference in New Issue
Block a user