From 539e1717728f7a5ed0b5ed9bad4ab7260117e600 Mon Sep 17 00:00:00 2001 From: Michael Woerister Date: Fri, 8 Dec 2017 10:17:17 +0100 Subject: [PATCH] incr.comp.: Fix merge fallout. --- src/librustc/mir/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/librustc/mir/mod.rs b/src/librustc/mir/mod.rs index 720d831a24533..64e601ab1e734 100644 --- a/src/librustc/mir/mod.rs +++ b/src/librustc/mir/mod.rs @@ -1830,7 +1830,7 @@ pub struct GeneratorLayout<'tcx> { /// instance of the closure is created, the corresponding free regions /// can be extracted from its type and constrained to have the given /// outlives relationship. -#[derive(Clone, Debug)] +#[derive(Clone, Debug, RustcEncodable, RustcDecodable)] pub struct ClosureRegionRequirements { /// The number of external regions defined on the closure. In our /// example above, it would be 3 -- one for `'static`, then `'1` @@ -1846,7 +1846,7 @@ pub struct ClosureRegionRequirements { /// Indicates an outlives constraint between two free-regions declared /// on the closure. -#[derive(Copy, Clone, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[derive(Copy, Clone, Debug, PartialEq, Eq, PartialOrd, Ord, Hash, RustcEncodable, RustcDecodable)] pub struct ClosureOutlivesRequirement { // This region ... pub free_region: ty::RegionVid,