Module syntax::diagnostics::metadata
[−]
[src]
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.
Reexports
pub use self::Uniqueness::*; |
Structs
| ErrorLocation |
[Unstable] JSON encodable error location type with filename and line number. |
| ErrorMetadata |
[Unstable] JSON encodable/decodable version of |
Enums
| Uniqueness |
[Unstable] Type for describing the uniqueness of a set of error codes, as returned by |
Functions
| check_uniqueness |
[Unstable] Check that the errors in |
| get_metadata_dir |
[Unstable] Get the directory where metadata files should be stored. |
| output_metadata |
[Unstable] Write metadata for the errors in |
Type Definitions
| ErrorMetadataMap |
[Unstable] Mapping from error codes to metadata that can be (de)serialized. |