Skip to content

Commit 8533caa

Browse files
spastorinooli-obk
authored andcommitted
Make Place Copy
1 parent a5715a3 commit 8533caa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/mir/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1653,7 +1653,7 @@ impl Debug for Statement<'_> {
16531653

16541654
/// A path to a value; something that can be evaluated without
16551655
/// changing or disturbing program state.
1656-
#[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Hash, RustcEncodable, HashStable)]
1656+
#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, RustcEncodable, HashStable)]
16571657
pub struct Place<'tcx> {
16581658
pub local: Local,
16591659

0 commit comments

Comments
 (0)