1
Fork 0

Useful derives on mir::LocalKind

This commit is contained in:
Dylan MacKenzie 2020-09-29 17:27:59 -07:00
parent 4d52dc4790
commit 4d343a5e59

View file

@ -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,