Rollup merge of #97453 - lcnr:comment, r=jackh726
rename `TyKind` to `RegionKind` in comment in rustc_middle
This commit is contained in:
commit
e96397b63f
1 changed files with 1 additions and 1 deletions
|
@ -1469,7 +1469,7 @@ impl ParamConst {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Use this rather than `TyKind`, whenever possible.
|
/// Use this rather than `RegionKind`, whenever possible.
|
||||||
#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, HashStable)]
|
#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, HashStable)]
|
||||||
#[rustc_pass_by_value]
|
#[rustc_pass_by_value]
|
||||||
pub struct Region<'tcx>(pub Interned<'tcx, RegionKind>);
|
pub struct Region<'tcx>(pub Interned<'tcx, RegionKind>);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue