Remove unused ToType trait.
This commit is contained in:
parent
e08cd3cf05
commit
44482a5290
1 changed files with 1 additions and 5 deletions
|
|
@ -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> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue