pub(crate) struct UnsupportedLiteral {
pub span: Span,
pub reason: UnsupportedLiteralReason,
pub is_bytestr: bool,
pub start_point_span: Span,
}
Fields
span: Span
reason: UnsupportedLiteralReason
is_bytestr: bool
start_point_span: Span
Trait Implementations
sourceimpl<'a> SessionDiagnostic<'a, ErrorGuaranteed> for UnsupportedLiteral
impl<'a> SessionDiagnostic<'a, ErrorGuaranteed> for UnsupportedLiteral
sourcefn 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
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