Skip to main content

Module errors

Module errors 

Source

Structsยง

BinaryFloatLiteralNotSupported ๐Ÿ”’
BranchProtectionRequiresAArch64 ๐Ÿ”’
CannotEnableCrtStaticLinux ๐Ÿ”’
CannotMixAndMatchSanitizers ๐Ÿ”’
CliFeatureDiagnosticHelp ๐Ÿ”’
CrateNameEmpty ๐Ÿ”’
EmbedSourceInsufficientDwarfVersion ๐Ÿ”’
EmbedSourceRequiresDebugInfo ๐Ÿ”’
ExprParenthesesNeeded
FailedToCreateProfiler ๐Ÿ”’
FeatureDiagnosticForIssue ๐Ÿ”’
FeatureDiagnosticHelp ๐Ÿ”’
FeatureDiagnosticSuggestion ๐Ÿ”’
FeatureGateError ๐Ÿ”’
FileIsNotWriteable ๐Ÿ”’
FileWriteFail ๐Ÿ”’
FunctionReturnRequiresX86OrX8664 ๐Ÿ”’
FunctionReturnThunkExternRequiresNonLargeCodeModel ๐Ÿ”’
HexadecimalFloatLiteralNotSupported ๐Ÿ”’
IncompatibleLinkerFlavor ๐Ÿ”’
IndirectBranchCsPrefixRequiresX86OrX8664 ๐Ÿ”’
InstrumentationNotSupported ๐Ÿ”’
IntLiteralTooLarge ๐Ÿ”’
InvalidCharacterInCrateName ๐Ÿ”’
InvalidFloatLiteralSuffix ๐Ÿ”’
InvalidFloatLiteralWidth ๐Ÿ”’
InvalidIntLiteralWidth ๐Ÿ”’
InvalidLiteralSuffix ๐Ÿ”’
InvalidNumLiteralBasePrefix ๐Ÿ”’
InvalidNumLiteralSuffix ๐Ÿ”’
LinkerPluginToWindowsNotSupported ๐Ÿ”’
NotCircumventFeature ๐Ÿ”’
OctalFloatLiteralNotSupported ๐Ÿ”’
ProfileSampleUseFileDoesNotExist ๐Ÿ”’
ProfileUseFileDoesNotExist ๐Ÿ”’
SanitizerCfiCanonicalJumpTablesRequiresCfi ๐Ÿ”’
SanitizerCfiGeneralizePointersRequiresCfi ๐Ÿ”’
SanitizerCfiNormalizeIntegersRequiresCfi ๐Ÿ”’
SanitizerCfiRequiresLto ๐Ÿ”’
SanitizerCfiRequiresSingleCodegenUnit ๐Ÿ”’
SanitizerKcfiArityRequiresKcfi ๐Ÿ”’
SanitizerKcfiRequiresPanicAbort ๐Ÿ”’
SanitizerNotSupported ๐Ÿ”’
SanitizersNotSupported ๐Ÿ”’
SkippingConstChecks ๐Ÿ”’
SmallDataThresholdNotSupportedForTarget ๐Ÿ”’
SplitDebugInfoUnstablePlatform ๐Ÿ”’
SplitLtoUnitRequiresLto ๐Ÿ”’
StackProtectorNotSupportedForTarget ๐Ÿ”’
SuggestUpgradeCompiler ๐Ÿ”’
TargetRequiresUnwindTables ๐Ÿ”’
ThinLtoNotSupportedByBackend ๐Ÿ”’
UnexpectedBuiltinCfg ๐Ÿ”’
UnstableVirtualFunctionElimination ๐Ÿ”’
UnsupportedDwarfVersion ๐Ÿ”’
UnsupportedPackedStack ๐Ÿ”’
UnsupportedRegStructReturnArch ๐Ÿ”’
UnsupportedRegparm ๐Ÿ”’
UnsupportedRegparmArch ๐Ÿ”’

Enumsยง

AppleDeploymentTarget ๐Ÿ”’
UnleashedFeatureHelp ๐Ÿ”’

Functionsยง

add_feature_diagnostics
Adds the diagnostics for a feature to an existing error. Must be a language feature!
add_feature_diagnostics_for_issue
Adds the diagnostics for a feature to an existing error.
create_lit_error
feature_err
Construct a diagnostic for a language feature error due to the given span. The featureโ€™s Symbol is the one you used in unstable.rs and rustc_span::symbol.
feature_err_issue
Construct a diagnostic for a feature gate error.
feature_err_unstable_feature_bound
This is only used by unstable_feature_bound as it does not have issue number information for now. This is basically the same as feature_err_issue but without the feature issue note. If we can do a lookup for issue number from feature name, then we should directly use feature_err_issue for ambiguity error of #[unstable_feature_bound].
feature_warn
Construct a future incompatibility diagnostic for a feature gate.
feature_warn_issue
Construct a future incompatibility diagnostic for a feature gate.
report_lit_error