diff --git a/src/librustc/middle/infer/mod.rs b/src/librustc/middle/infer/mod.rs index 61c166e11d28..578b39af88cb 100644 --- a/src/librustc/middle/infer/mod.rs +++ b/src/librustc/middle/infer/mod.rs @@ -189,6 +189,9 @@ pub struct TypeTrace<'tcx> { /// See `error_reporting.rs` for more details #[derive(Clone, Debug)] pub enum SubregionOrigin<'tcx> { + // Marker to indicate a constraint that only arises due to new + // provisions from RFC 1214. This will result in a warning, not an + // error. RFC1214Subregion(Rc>), // Arose from a subtyping relation