mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 16:54:01 +00:00
Rollup merge of #97453 - lcnr:comment, r=jackh726
rename `TyKind` to `RegionKind` in comment in rustc_middle
This commit is contained in:
commit
e96397b63f
@ -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…
Reference in New Issue
Block a user