Module syntax::diagnostics::metadata
[−]
[src]
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
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 |
[ Experimental ] JSON encodable error location type with filename and line number. |
ErrorMetadata |
[ Experimental ] JSON encodable/decodable version of |
Functions
get_metadata_dir |
[ Experimental ] Get the directory where metadata for a given |
output_metadata |
[ Experimental ] Write metadata for the errors in |
Type Definitions
ErrorMetadataMap |
[ Experimental ] Mapping from error codes to metadata that can be (de)serialized. |