Skip to content

Commit 9951a99

Browse files
committed
w
1 parent 91881c5 commit 9951a99

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

compiler/rustc_type_ir/src/binder.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ where
105105
}
106106

107107
pub fn bind_with_vars(value: T, bound_vars: I::BoundVarKinds) -> Binder<I, T> {
108-
if cfg!(debug_assertions) {
108+
if false && cfg!(debug_assertions) {
109109
let mut validator = ValidateBoundVars::new(bound_vars);
110110
let _ = value.visit_with(&mut validator);
111111
}
@@ -194,7 +194,7 @@ impl<I: Interner, T> Binder<I, T> {
194194
{
195195
let Binder { value, bound_vars } = self;
196196
let value = f(value);
197-
if cfg!(debug_assertions) {
197+
if false && cfg!(debug_assertions) {
198198
let mut validator = ValidateBoundVars::new(bound_vars);
199199
let _ = value.visit_with(&mut validator);
200200
}
@@ -207,7 +207,7 @@ impl<I: Interner, T> Binder<I, T> {
207207
{
208208
let Binder { value, bound_vars } = self;
209209
let value = f(value)?;
210-
if cfg!(debug_assertions) {
210+
if false && cfg!(debug_assertions) {
211211
let mut validator = ValidateBoundVars::new(bound_vars);
212212
let _ = value.visit_with(&mut validator);
213213
}

0 commit comments

Comments
 (0)