fi-0173: Resource definition must specify subtype {:#fi-0173}

The resource_definition declaration cannot omit the subtype member:

{% include “docs/reference/fidl/language/error-catalog/label/_bad.md” %}

{% includecode gerrit_repo="fuchsia/fuchsia" gerrit_path="tools/fidl/fidlc/tests/fidl/bad/fi-0173.test.fidl" exclude_regexp="\/\/ (Copyright 20|Use of|found in).*" %}

Point this member to a valid enum : uint32 declaration:

{% include “docs/reference/fidl/language/error-catalog/label/_good.md” %}

{% includecode gerrit_repo="fuchsia/fuchsia" gerrit_path="tools/fidl/fidlc/tests/fidl/good/fi-0173.test.fidl" exclude_regexp="\/\/ (Copyright 20|Use of|found in).*" %}

This is an error related to FIDL‘s internal implementation, and thus should only ever be surfaced to developers working on FIDL’s core libraries. End users should never see this error.

The resource_definition declaration it refers to is FIDL's internal means of defining resources like handles, and is likely to change in the future as part of the handle generalization effort.