pub(crate) struct UnsupportedLiteral {
pub span: Span,
pub reason: UnsupportedLiteralReason,
pub is_bytestr: bool,
pub start_point_span: Span,
}
Expand description
Error code: E0565
Fields§
§span: Span
§reason: UnsupportedLiteralReason
§is_bytestr: bool
§start_point_span: Span
Trait Implementations§
source§impl<'a> IntoDiagnostic<'a, ErrorGuaranteed> for UnsupportedLiteral
impl<'a> IntoDiagnostic<'a, ErrorGuaranteed> for UnsupportedLiteral
source§fn into_diagnostic(
self,
handler: &'a Handler
) -> DiagnosticBuilder<'a, ErrorGuaranteed>
fn into_diagnostic(
self,
handler: &'a Handler
) -> DiagnosticBuilder<'a, ErrorGuaranteed>
Write out as a diagnostic out of
Handler
.Auto Trait Implementations§
impl RefUnwindSafe for UnsupportedLiteral
impl !Send for UnsupportedLiteral
impl !Sync for UnsupportedLiteral
impl Unpin for UnsupportedLiteral
impl UnwindSafe for UnsupportedLiteral
Blanket Implementations§
Layout§
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: 20 bytes