blob: 7960cf0591f541492dc7acbe1c37114b6ba877ec [file] [view]
---
title: InvalidConstType
layout: article
---
<!-- Copyright 2023 The Go Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file. -->
<!-- Code generated by generrordocs.go; DO NOT EDIT. -->
```
InvalidConstType occurs when the underlying type in a const declaration
is not a valid constant type.
Example:
const c *int = 4
```