Skip to content

Commit cb66527

Browse files
committed
w
1 parent 4d7d13b commit cb66527

File tree

1 file changed

+0
-13
lines changed
  • compiler/rustc_infer/src/infer/snapshot

1 file changed

+0
-13
lines changed

compiler/rustc_infer/src/infer/snapshot/mod.rs

-13
Original file line numberDiff line numberDiff line change
@@ -161,19 +161,6 @@ impl<'tcx, T: TrivialNoSnapshotLeaks<'tcx>> NoSnapshotLeaks<'tcx> for T {
161161
macro_rules! trivial_no_snapshot_leaks {
162162
($tcx:lifetime, $t:ty) => {
163163
impl<$tcx> $crate::infer::snapshot::TrivialNoSnapshotLeaks<$tcx> for $t {}
164-
/*
165-
const _: () = {
166-
use $crate::infer::InferCtxt;
167-
impl<$tcx> $crate::infer::snapshot::NoSnapshotLeaks<$tcx> for $t {
168-
type DataStart = ();
169-
type DataEnd = ();
170-
fn mk_data_snapshot_start(_: &InferCtxt<$tcx>) {}
171-
fn mk_data_snapshot_end(_: &InferCtxt<$tcx>, _: ()) {}
172-
fn avoid_leaks(self, _: &InferCtxt<$tcx>, _: ()) -> Self {
173-
self
174-
}
175-
}
176-
};*/
177164
};
178165
}
179166

0 commit comments

Comments
 (0)