diff options
| author | Santiago Pastorino <spastorino@gmail.com> | 2019-12-19 14:10:48 -0300 |
|---|---|---|
| committer | Oliver Scherer <github35764891676564198441@oli-obk.de> | 2020-01-10 09:08:25 +0100 |
| commit | 8533caa26f18d60ab6728d1ba97a8dc0ce8ba1ac (patch) | |
| tree | 8d7b9b4008c247739599e6d6773caed42c5e717e /src/librustc/mir | |
| parent | a5715a32b5a15180d6d7b8fe099151bd0713af07 (diff) | |
| download | rust-8533caa26f18d60ab6728d1ba97a8dc0ce8ba1ac.tar.gz rust-8533caa26f18d60ab6728d1ba97a8dc0ce8ba1ac.zip | |
Make Place Copy
Diffstat (limited to 'src/librustc/mir')
| -rw-r--r-- | src/librustc/mir/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/mir/mod.rs b/src/librustc/mir/mod.rs index 84fe077513e..281cf46bdc2 100644 --- a/src/librustc/mir/mod.rs +++ b/src/librustc/mir/mod.rs @@ -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, |
