Skip to content

Commit bca7398

Browse files
committed
Make Place Copy
1 parent e7361ea commit bca7398

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/mir/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1660,7 +1660,7 @@ impl Debug for Statement<'_> {
16601660
/// A path to a value; something that can be evaluated without
16611661
/// changing or disturbing program state.
16621662
#[derive(
1663-
Clone, PartialEq, Eq, PartialOrd, Ord, Hash, RustcEncodable, HashStable,
1663+
Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, RustcEncodable, HashStable,
16641664
)]
16651665
pub struct Place<'tcx> {
16661666
pub local: Local,

0 commit comments

Comments
 (0)