Module syntax::diagnostics::plugin [−][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?
Re-exports
use std::collections::BTreeMap; |
use std::env; |
use ast; |
use ast::Ident; |
use ast::Name; |
use codemap; |
use syntax_pos::Span; |
use ext::base::ExtCtxt; |
use ext::base::MacEager; |
use ext::base::MacResult; |
use ext::build::AstBuilder; |
use parse::token; |
use ptr::P; |
use ptr::P; |
use symbol::keywords; |
use symbol::Symbol; |
use tokenstream::TokenTree; |
use util::small_vector::SmallVector; |
use diagnostics::metadata::output_metadata; |
Modules
| emitter |
[ Experimental ]
|
| registry |
[ Experimental ]
|
Structs
| CodeSuggestion |
[ Experimental ]
|
| Diagnostic |
[ Experimental ]
|
| DiagnosticBuilder |
[ Experimental ] Used for emitting structured error messages and other diagnostic information. |
| DiagnosticStyledString |
[ Experimental ]
|
| ErrorInfo |
[ Experimental ] Error information type. |
| ExplicitBug |
[ Experimental ] Signifies that the compiler died with an explicit call to |
| FatalError |
[ Experimental ] Used as a return value to signify a fatal error occurred. (It is also used as the argument to panic at the moment, but that will eventually not be true.) |
| FatalErrorMarker |
[ Experimental ]
|
| Handler |
[ Experimental ] A handler deals with errors; certain errors (fatal, bug, unimpl) may cause immediate exit, others log errors for later reporting. |
| HandlerFlags |
[ Experimental ]
|
| SubDiagnostic |
[ Experimental ] For example a note attached to an error. |
| Substitution |
[ Experimental ] See the docs on |
| SubstitutionPart |
[ Experimental ]
|
Enums
| Applicability |
[ Experimental ]
|
| DiagnosticId |
[ Experimental ]
|
| Level |
[ Experimental ]
|
Constants
| MAX_DESCRIPTION_WIDTH |
[ Experimental ]
|
| TRACK_DIAGNOSTICS |
[ Experimental ]
|
Traits
| CodeMapper |
[ Experimental ]
|
Functions
| expand_build_diagnostic_array |
[ Experimental ]
|
| expand_diagnostic_used |
[ Experimental ]
|
| expand_register_diagnostic |
[ Experimental ]
|
Type Definitions
| CodeMapperDyn |
[ Experimental ]
|
| ErrorMap |
[ Experimental ] Mapping from error codes to metadata. |