]> Cypherpunks.ru repositories - gostls13.git/blobdiff - test/escape2.go
Revert "cmd/compile: enable zero-copy string->[]byte conversions"
[gostls13.git] / test / escape2.go
index 99f85914a32ed7caa1d3addaf444ff45e4b63ddf..e3e5904cde525bc9b4c2412a1c52b5764e23f837 100644 (file)
@@ -1729,7 +1729,7 @@ func intstring2() {
 
 func stringtoslicebyte0() {
        s := "foo"
-       x := []byte(s) // ERROR "\(\[\]byte\)\(s\) does not escape$" "zero-copy string->\[\]byte conversion"
+       x := []byte(s) // ERROR "\(\[\]byte\)\(s\) does not escape$"
        _ = x
 }