1
Fork 0

escape-upvar-nested: patch "dangling reference" to renamed test

This commit is contained in:
Niko Matsakis 2017-12-06 16:19:06 -05:00
parent 782b9f5c0a
commit 8b657d378e

View file

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// As in via-upvar, test closure that:
// As in `escape-upvar-ref.rs`, test closure that:
//
// - captures a variable `y`
// - stores reference to `y` into another, longer-lived spot