github.com/jhump/golang-x-tools@v0.0.0-20220218190644-4958d6d39439/internal/lsp/testdata/missingfunction/tuple.go.golden (about)

     1  -- suggestedfix_tuple_4_2 --
     2  package missingfunction
     3  
     4  func tuple() {
     5  	undefinedTuple(b()) //@suggestedfix("undefinedTuple", "quickfix")
     6  }
     7  
     8  func undefinedTuple(s string, err error) {
     9  	panic("unimplemented")
    10  }
    11  
    12  func b() (string, error) {
    13  	return "", nil
    14  }
    15