10 foo := func(y *int) { fmt.Println(x) }
11 runtime.SetFinalizer(x, foo) // want `the finalizer closes over the object, preventing the finalizer from ever running \(at .+:10:9`
12 runtime.SetFinalizer(x, nil)
13 runtime.SetFinalizer(x, func(_ *int) { // want `the finalizer closes over the object, preventing the finalizer from ever running \(at .+:13:26`
17 foo = func(y *int) { fmt.Println(y) }
18 runtime.SetFinalizer(x, foo)
19 runtime.SetFinalizer(x, func(y *int) {