blob: 08e95c53740c69bef9a2c0d42def274275c58013 [file] [view]
---
title: MissingLitField
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. -->
```
MissingLitField occurs when a struct literal refers to a field that does
not exist on the struct type.
Example:
var _ = struct{i int}{j: 2}
```