[−][src]Module syntax::diagnostics::metadata
This module contains utilities for outputting metadata for diagnostic errors.
Each set of errors is mapped to a metadata file by a name, which is currently always a crate name.
Structs
| ErrorLocation | JSON encodable error location type with filename and line number. |
| ErrorMetadata | JSON encodable/decodable version of |
Functions
| get_metadata_dir | Gets the directory where metadata for a given |
| output_metadata | Write metadata for the errors in |
Type Definitions
| ErrorMetadataMap | Mapping from error codes to metadata that can be (de)serialized. |