xref: /aosp_15_r20/external/go-cmp/cmp/export_panic.go (revision 88d15eac089d7f20c739ff1001d56b91872b21a1)
1// Copyright 2017, The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5//go:build purego
6// +build purego
7
8package cmp
9
10import "reflect"
11
12const supportExporters = false
13
14func retrieveUnexportedField(reflect.Value, reflect.StructField, bool) reflect.Value {
15	panic("no support for forcibly accessing unexported fields")
16}
17