vars are ?
This commit is contained in:
parent
a7aa20517c
commit
bb99cdc7cd
46 changed files with 307 additions and 307 deletions
|
@ -95,7 +95,7 @@ impl<'tcx> fmt::Debug for ty::FnSig<'tcx> {
|
|||
|
||||
impl<'tcx> fmt::Debug for ty::ConstVid<'tcx> {
|
||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||
write!(f, "_#{}c", self.index)
|
||||
write!(f, "?{}c", self.index)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1436,7 +1436,7 @@ pub struct ConstVid<'tcx> {
|
|||
rustc_index::newtype_index! {
|
||||
/// A **region** (lifetime) **v**ariable **ID**.
|
||||
#[derive(HashStable)]
|
||||
#[debug_format = "'_#{}r"]
|
||||
#[debug_format = "'?{}"]
|
||||
pub struct RegionVid {}
|
||||
}
|
||||
|
||||
|
|
|
@ -537,7 +537,7 @@ pub struct FloatVarValue(pub FloatTy);
|
|||
|
||||
rustc_index::newtype_index! {
|
||||
/// A **ty**pe **v**ariable **ID**.
|
||||
#[debug_format = "_#{}t"]
|
||||
#[debug_format = "?{}t"]
|
||||
pub struct TyVid {}
|
||||
}
|
||||
|
||||
|
@ -739,13 +739,13 @@ impl fmt::Debug for FloatVarValue {
|
|||
|
||||
impl fmt::Debug for IntVid {
|
||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||
write!(f, "_#{}i", self.index)
|
||||
write!(f, "?{}i", self.index)
|
||||
}
|
||||
}
|
||||
|
||||
impl fmt::Debug for FloatVid {
|
||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||
write!(f, "_#{}f", self.index)
|
||||
write!(f, "?{}f", self.index)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue