use std::cmp::Ordering;
use std::hash::Hash;
use std::hash::Hasher;
use std::ops::Deref;
use rustc_data_structures::stable_hash::StableHash;
use rustc_data_structures::stable_hash::StableHashCtxt;
use rustc_data_structures::stable_hash::StableHasher;
use rustc_type_ir_macros::GenericTypeVisitable;
use crate::DebruijnIndex;
use crate::TypeFlags;