Skip to content

Commit 539e171

Browse files
incr.comp.: Fix merge fallout.
1 parent f5bd1ca commit 539e171

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc/mir/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1830,7 +1830,7 @@ pub struct GeneratorLayout<'tcx> {
18301830
/// instance of the closure is created, the corresponding free regions
18311831
/// can be extracted from its type and constrained to have the given
18321832
/// outlives relationship.
1833-
#[derive(Clone, Debug)]
1833+
#[derive(Clone, Debug, RustcEncodable, RustcDecodable)]
18341834
pub struct ClosureRegionRequirements {
18351835
/// The number of external regions defined on the closure. In our
18361836
/// example above, it would be 3 -- one for `'static`, then `'1`
@@ -1846,7 +1846,7 @@ pub struct ClosureRegionRequirements {
18461846

18471847
/// Indicates an outlives constraint between two free-regions declared
18481848
/// on the closure.
1849-
#[derive(Copy, Clone, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
1849+
#[derive(Copy, Clone, Debug, PartialEq, Eq, PartialOrd, Ord, Hash, RustcEncodable, RustcDecodable)]
18501850
pub struct ClosureOutlivesRequirement {
18511851
// This region ...
18521852
pub free_region: ty::RegionVid,

0 commit comments

Comments
 (0)