Remove in_band_lifetimes from rustc_infer
This crate actually had a typo `'ctx` in one of its functions:
```diff
-pub fn same_type_modulo_infer(a: Ty<'tcx>, b: Ty<'ctx>) -> bool {
+pub fn same_type_modulo_infer<'tcx>(a: Ty<'tcx>, b: Ty<'tcx>) -> bool {
```
This commit is contained in:
@@ -554,7 +554,7 @@ pub trait TyCtxtInferExt<'tcx> {
|
||||
fn infer_ctxt(self) -> InferCtxtBuilder<'tcx>;
|
||||
}
|
||||
|
||||
impl TyCtxtInferExt<'tcx> for TyCtxt<'tcx> {
|
||||
impl<'tcx> TyCtxtInferExt<'tcx> for TyCtxt<'tcx> {
|
||||
fn infer_ctxt(self) -> InferCtxtBuilder<'tcx> {
|
||||
InferCtxtBuilder {
|
||||
tcx: self,
|
||||
@@ -1718,7 +1718,7 @@ pub enum TyOrConstInferVar<'tcx> {
|
||||
Const(ConstVid<'tcx>),
|
||||
}
|
||||
|
||||
impl TyOrConstInferVar<'tcx> {
|
||||
impl<'tcx> TyOrConstInferVar<'tcx> {
|
||||
/// Tries to extract an inference variable from a type or a constant, returns `None`
|
||||
/// for types other than `ty::Infer(_)` (or `InferTy::Fresh*`) and
|
||||
/// for constants other than `ty::ConstKind::Infer(_)` (or `InferConst::Fresh`).
|
||||
|
||||
Reference in New Issue
Block a user