Type Alias rustc_errors::diagnostic::DiagArgName

source ·
pub type DiagArgName = Cow<'static, str>;
Expand description

Name of a diagnostic argument.

Aliased Type§

enum DiagArgName {
    Borrowed(&'static str),



Borrowed(&'static str)

Borrowed data.



Owned data.


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: 24 bytes

Size for each variant:

  • Borrowed: 24 bytes
  • Owned: 24 bytes