Skip to content

Commit aeec7db

Browse files
committed
never leak check
1 parent 245a3fb commit aeec7db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_hir_typeck/src/coercion.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ impl<'f, 'tcx> Coerce<'f, 'tcx> {
170170
// FIXME: Ideally the actual `eq/sub/lub` would handle leak checks
171171
// themselves whenever a binder is entered.
172172
if leak_check || self.use_lub {
173-
self.leak_check(outer_universe, Some(snapshot))?;
173+
// self.leak_check(outer_universe, Some(snapshot))?;
174174
}
175175

176176
res

0 commit comments

Comments
 (0)