Remove unused ToType trait.

This commit is contained in:
Nicholas Nethercote 2025-02-02 17:35:11 +11:00
parent e08cd3cf05
commit 44482a5290

View file

@ -5,11 +5,7 @@ use rustc_data_structures::unify::{NoError, UnifyKey, UnifyValue};
use rustc_span::Span;
use rustc_span::def_id::DefId;
use crate::ty::{self, Ty, TyCtxt};
pub trait ToType {
fn to_type<'tcx>(&self, tcx: TyCtxt<'tcx>) -> Ty<'tcx>;
}
use crate::ty;
#[derive(Copy, Clone, Debug)]
pub enum RegionVariableValue<'tcx> {