We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d7d13b commit cb66527Copy full SHA for cb66527
compiler/rustc_infer/src/infer/snapshot/mod.rs
@@ -161,19 +161,6 @@ impl<'tcx, T: TrivialNoSnapshotLeaks<'tcx>> NoSnapshotLeaks<'tcx> for T {
161
macro_rules! trivial_no_snapshot_leaks {
162
($tcx:lifetime, $t:ty) => {
163
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
- };*/
177
};
178
}
179
0 commit comments