☰
rustc_session
1.75.0-dev
In rustc_session::errors
Structs
BinaryFloatLiteralNotSupported
BranchProtectionRequiresAArch64
CannotEnableCrtStaticLinux
CannotMixAndMatchSanitizers
CguNotRecorded
CliFeatureDiagnosticHelp
CrateNameDoesNotMatch
CrateNameEmpty
CrateNameInvalid
ExprParenthesesNeeded
FeatureDiagnosticForIssue
FeatureDiagnosticHelp
FeatureGateError
FileIsNotWriteable
FileWriteFail
HexadecimalFloatLiteralNotSupported
IncompatibleLinkerFlavor
IncorrectCguReuseType
InstrumentationNotSupported
IntLiteralTooLarge
InvalidCharacterInCrateName
InvalidFloatLiteralSuffix
InvalidFloatLiteralWidth
InvalidIntLiteralWidth
InvalidLiteralSuffix
InvalidNumLiteralBasePrefix
InvalidNumLiteralSuffix
LinkerPluginToWindowsNotSupported
NotCircumventFeature
NulInCStr
OctalFloatLiteralNotSupported
OptimisationFuelExhausted
ProfileSampleUseFileDoesNotExist
ProfileUseFileDoesNotExist
SanitizerCfiCanonicalJumpTablesRequiresCfi
SanitizerCfiGeneralizePointersRequiresCfi
SanitizerCfiNormalizeIntegersRequiresCfi
SanitizerCfiRequiresLto
SanitizerCfiRequiresSingleCodegenUnit
SanitizerNotSupported
SanitizersNotSupported
SkippingConstChecks
SplitDebugInfoUnstablePlatform
SplitLtoUnitRequiresLto
StackProtectorNotSupportedForTarget
TargetRequiresUnwindTables
UnstableVirtualFunctionElimination
UnsupportedDwarfVersion
Enums
InvalidCrateNameHelp
UnleashedFeatureHelp
Constants
_DERIVE_rustc_errors_AddToDiagnostic_FOR_CliFeatureDiagnosticHelp
_DERIVE_rustc_errors_AddToDiagnostic_FOR_ExprParenthesesNeeded
_DERIVE_rustc_errors_AddToDiagnostic_FOR_FeatureDiagnosticForIssue
_DERIVE_rustc_errors_AddToDiagnostic_FOR_FeatureDiagnosticHelp
_DERIVE_rustc_errors_AddToDiagnostic_FOR_InvalidCrateNameHelp
_DERIVE_rustc_errors_AddToDiagnostic_FOR_UnleashedFeatureHelp
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_BinaryFloatLiteralNotSupported
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_BranchProtectionRequiresAArch64
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_CannotEnableCrtStaticLinux
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_CannotMixAndMatchSanitizers
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_CguNotRecorded
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_CrateNameDoesNotMatch
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_CrateNameEmpty
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_CrateNameInvalid
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_FileIsNotWriteable
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_FileWriteFail
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_HexadecimalFloatLiteralNotSupported
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_IncompatibleLinkerFlavor
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_IncorrectCguReuseType
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_InstrumentationNotSupported
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_IntLiteralTooLarge
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_InvalidCharacterInCrateName
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_InvalidFloatLiteralSuffix
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_InvalidFloatLiteralWidth
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_InvalidIntLiteralWidth
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_InvalidLiteralSuffix
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_InvalidNumLiteralBasePrefix
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_InvalidNumLiteralSuffix
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_LinkerPluginToWindowsNotSupported
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_NotCircumventFeature
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_NulInCStr
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_OctalFloatLiteralNotSupported
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_OptimisationFuelExhausted
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_ProfileSampleUseFileDoesNotExist
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_ProfileUseFileDoesNotExist
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_SanitizerCfiCanonicalJumpTablesRequiresCfi
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_SanitizerCfiGeneralizePointersRequiresCfi
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_SanitizerCfiNormalizeIntegersRequiresCfi
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_SanitizerCfiRequiresLto
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_SanitizerCfiRequiresSingleCodegenUnit
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_SanitizerNotSupported
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_SanitizersNotSupported
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_SkippingConstChecks
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_SplitDebugInfoUnstablePlatform
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_SplitLtoUnitRequiresLto
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_StackProtectorNotSupportedForTarget
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_TargetRequiresUnwindTables
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_UnstableVirtualFunctionElimination
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_UnsupportedDwarfVersion
Functions
report_lit_error
?
Function
rustc_session
::
errors
::
report_lit_error
source
·
[
−
]
pub fn report_lit_error(sess: &
ParseSess
, err:
LitError
, lit:
Lit
, span:
Span
)