Home | History | Annotate | Download | only in test

Lines Matching refs:to

21 	i := 0            // ERROR "moved to heap: i"
22 s = append(s, &i) // ERROR "&i escapes to heap"
28 i := 0 // ERROR "moved to heap: i"
29 s = append(s, &i) // ERROR "&i escapes to heap"
35 i := 0 // ERROR "moved to heap: i"
36 s = append(s, &i) // ERROR "&i escapes to heap"
42 i := 0 // ERROR "moved to heap: i"
43 s = append(s, &i) // ERROR "&i escapes to heap"
51 i := 0 // ERROR "moved to heap: i"
52 s[0] = &i // ERROR "&i escapes to heap"
59 i := 0 // ERROR "moved to heap: i"
60 s[0] = &i // ERROR "&i escapes to heap"
66 i := 0 // ERROR "moved to heap: i"
67 s[0] = &i // ERROR "&i escapes to heap"
73 i := 0 // ERROR "moved to heap: i"
74 s[0] = &i // ERROR "&i escapes to heap"
85 i := 0 // ERROR "moved to heap: i"
86 s := []*int{&i} // ERROR "&i escapes to heap" "literal does not escape"
91 i := 0 // ERROR "moved to heap: i"
92 s := []*int{&i} // ERROR "&i escapes to heap" "literal escapes to heap"
98 return mergeEnvLists([]string{"PWD=" + dir}, env) // ERROR ".PWD=. \+ dir escapes to heap" "\[\]string literal does not escape"
101 func mergeEnvLists(in, out []string) []string { // ERROR "leaking param content: in" "leaking param content: out" "leaking param: out to result ~r2 level=0"
124 p := make(IP, IPv6len) // ERROR "make\(IP, IPv6len\) escapes to heap"
158 &IPAddr{IP: IPv4(127, 0, 0, 1)}, // ERROR "&IPAddr literal escapes to heap"
162 &IPAddr{IP: IPv4(127, 0, 0, 1)}, // ERROR "&IPAddr literal escapes to heap"