Skip to content

Commit 7db3324

Browse files
committed
remove unwanted tests and a reference to it in comments
1 parent dbb756d commit 7db3324

File tree

4 files changed

+3
-139
lines changed

4 files changed

+3
-139
lines changed

src/librustc_mir/util/liveness.rs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -294,11 +294,9 @@ pub fn categorize<'tcx>(context: PlaceContext<'tcx>, mode: LivenessMode) -> Opti
294294
// We let Call define the result in both the success and
295295
// unwind cases. This is not really correct, however it
296296
// does not seem to be observable due to the way that we
297-
// generate MIR. See the test case
298-
// `mir-opt/nll/liveness-call-subtlety.rs`. To do things
299-
// properly, we would apply the def in call only to the
300-
// input from the success path and not the unwind
301-
// path. -nmatsakis
297+
// generate MIR. To do things properly, we would apply
298+
// the def in call only to the input from the success
299+
// path and not the unwind path. -nmatsakis
302300
PlaceContext::Call |
303301

304302
// Storage live and storage dead aren't proper defines, but we can ignore

src/test/mir-opt/nll/liveness-call-subtlety.rs

Lines changed: 0 additions & 45 deletions
This file was deleted.

src/test/mir-opt/nll/liveness-drop-intra-block.rs

Lines changed: 0 additions & 41 deletions
This file was deleted.

src/test/mir-opt/nll/liveness-interblock.rs

Lines changed: 0 additions & 48 deletions
This file was deleted.

0 commit comments

Comments
 (0)