Skip to content

Commit 8b657d3

Browse files
committed
escape-upvar-nested: patch "dangling reference" to renamed test
1 parent 782b9f5 commit 8b657d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/ui/nll/closure-requirements/escape-upvar-nested.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// As in via-upvar, test closure that:
11+
// As in `escape-upvar-ref.rs`, test closure that:
1212
//
1313
// - captures a variable `y`
1414
// - stores reference to `y` into another, longer-lived spot

0 commit comments

Comments
 (0)