Skip to content

Commit 12802a1

Browse files
authored
cleanup: remove unused UserDefinedTypeInvariantPass (#2797)
1 parent a1d94cf commit 12802a1

2 files changed

Lines changed: 0 additions & 6 deletions

File tree

source/vir/src/ast.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ pub enum VarIdentDisambiguate {
8484
VirTemp(u64),
8585
ExpandErrorsDecl(u64),
8686
BitVectorToAirDecl(u64),
87-
UserDefinedTypeInvariantPass(u64),
8887
ResInfTemp(u64),
8988
}
9089

source/vir/src/def.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ const SUBST_RENAME_SEPARATOR: &str = "$$";
9292
const EXPAND_ERRORS_DECL_SEPARATOR: &str = "$$$";
9393
const RES_INF_TEMP_SEPARATOR: &str = "$$$$tempplace";
9494
const BITVEC_TMP_DECL_SEPARATOR: &str = "$$$$bitvectmp";
95-
const USER_DEF_TYPE_INV_TMP_DECL_SEPARATOR: &str = "$$$$userdeftypeinvpass";
9695
const KRATE_SEPARATOR: &str = "!";
9796
const KRATE_RENAME_SEPARATOR: &str = "!!";
9897
const PATH_SEPARATOR: &str = ".";
@@ -1272,10 +1271,6 @@ pub fn unique_var_name(
12721271
out.push_str(BITVEC_TMP_DECL_SEPARATOR);
12731272
write!(&mut out, "{}", id).unwrap();
12741273
}
1275-
VarIdentDisambiguate::UserDefinedTypeInvariantPass(id) => {
1276-
out.push_str(USER_DEF_TYPE_INV_TMP_DECL_SEPARATOR);
1277-
write!(&mut out, "{}", id).unwrap();
1278-
}
12791274
VarIdentDisambiguate::ResInfTemp(id) => {
12801275
out.push_str(RES_INF_TEMP_SEPARATOR);
12811276
write!(&mut out, "{}", id).unwrap();

0 commit comments

Comments
 (0)