A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://doc.rust-lang.org/nightly/nightly-rustc/rustc_errors/json/struct.JsonEmitter.html below:

JsonEmitter in rustc_errors::json - Rust

pub struct JsonEmitter {
    dst: IntoDynSyncSend<Box<dyn Write + Send>>,
    sm: Option<Arc<SourceMap>>,
    translator: Translator,
    pretty: bool,
    ui_testing: bool,
    ignored_directories_in_source_blocks: Vec<String>,
    json_rendered: HumanReadableErrorType,
    color_config: ColorConfig,
    diagnostic_width: Option<usize>,
    macro_backtrace: bool,
    track_diagnostics: bool,
    terminal_url: TerminalUrl,
}
Source§ Source§

Emit a structured diagnostic.

Source§

Emit a notification that an artifact has been output. Currently only supported for the JSON format.

Source§

Emit a timestamp with start/end of a timing section. Currently only supported for the JSON format.

Source§

Emit a report about future breakage. Currently only supported for the JSON format.

Source§

Emit list of unused externs. Currently only supported for the JSON format.

Source§ Source§

Checks if should show explanations about “rustc –explain”

Source§ Source§

Checks if we can use colors in the current output stream.

Source§

Formats the substitutions of the primary_span

Read more Source§ Source§ Source§ Source§ Source§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 88 bytes


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4