Make Place Copy

This commit is contained in:
Santiago Pastorino 2019-12-19 14:10:48 -03:00 committed by Oliver Scherer
parent a5715a32b5
commit 8533caa26f

View file

@ -1653,7 +1653,7 @@ impl Debug for Statement<'_> {
/// A path to a value; something that can be evaluated without
/// changing or disturbing program state.
#[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Hash, RustcEncodable, HashStable)]
#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, RustcEncodable, HashStable)]
pub struct Place<'tcx> {
pub local: Local,