Struct rustc_errors::CodeSuggestion [] [src]

pub struct CodeSuggestion {
    pub msp: MultiSpan,
    pub substitutes: Vec<String>,
}
🔬 This is a nightly-only experimental API. (rustc_private)

Fields

🔬 This is a nightly-only experimental API. (rustc_private)
🔬 This is a nightly-only experimental API. (rustc_private)

Methods

impl CodeSuggestion
[src]

🔬 This is a nightly-only experimental API. (rustc_private)

Returns the assembled code suggestion.

Trait Implementations

impl Clone for CodeSuggestion
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for CodeSuggestion
[src]

Formats the value using the given formatter.

impl PartialEq for CodeSuggestion
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Encodable for CodeSuggestion
[src]

🔬 This is a nightly-only experimental API. (rustc_private)

deprecated in favor of rustc-serialize on crates.io

impl Decodable for CodeSuggestion
[src]

🔬 This is a nightly-only experimental API. (rustc_private)

deprecated in favor of rustc-serialize on crates.io