infer/mod.rs: add doc comment to RFC1214 variant
This commit is contained in:
parent
ff39ee9a90
commit
b7e849bf6a
1 changed files with 3 additions and 0 deletions
|
|
@ -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<SubregionOrigin<'tcx>>),
|
||||
|
||||
// Arose from a subtyping relation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue