pub struct ErrorConverter { /* private fields */ }Implementations§
Source§impl ErrorConverter
impl ErrorConverter
pub fn find_call_metamethod(&self, _type: TypeId) -> Option<TypeId>
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_40(&self, tm: &TypeMismatch) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_28(&self, e: &IllegalRequire) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_31(&self, e: &MissingProperties) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_21(&self, e: &DuplicateGenericParameter) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_16(&self, e: &CannotInferBinaryOperation) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_38(&self, e: &SwappedGenericTypeParameter) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_37(&self, e: &OptionalValueAccess) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_32(&self, e: &MissingUnionProperty) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_55(&self, e: &TypesAreUnrelated) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_48(&self, _error: &NormalizationTooComplex) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_54(&self, e: &TypePackMismatch) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_7( &self, e: &DynamicPropertyLookupOnExternTypesUnsafe, ) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_60(&self, e: &UninhabitedTypeFunction) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_8( &self, e: &ExplicitFunctionAnnotationRecommended, ) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_61(&self, e: &UninhabitedTypePackFunction) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_63(&self, e: &WhereClauseNeeded) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_49(&self, e: &PackWhereClauseNeeded) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_5(&self, e: &CheckedFunctionCallError) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_47(&self, e: &NonStrictFunctionDefinitionError) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_50(&self, e: &PropertyAccessViolation) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_6(&self, e: &CheckedFunctionIncorrectArgs) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_58(&self, e: &UnexpectedTypeInSubtyping) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_59(&self, e: &UnexpectedTypePackInSubtyping) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_62(&self, e: &UserDefinedTypeFunctionError) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_2(&self, e: &BuiltInTypeFunctionError) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_52(&self, e: &ReservedIdentifier) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_3(&self, e: &CannotAssignToNever) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_45(&self, e: &UnknownSymbol) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_57(&self, _error: &UnexpectedArrayLikeTableItem) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_4( &self, _e: &CannotCheckDynamicStringFormatCalls, ) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_10(&self, e: &GenericTypeCountMismatch) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_11(&self, e: &GenericTypePackCountMismatch) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_46(&self, e: &MultipleNonviableOverloads) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_51(&self, _e: &RecursiveRestraintViolation) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_9(&self, e: &GenericBoundsMismatch) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_12(&self, e: &InstantiateGenericsOnNonFunction) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_53(&self, e: &TypeInstantiationCountMismatch) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_56(&self, _e: &UnappliedTypeFunction) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call(&self, afc: &AmbiguousFunctionCall) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_43(&self, e: &UnknownProperty) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_34(&self, e: &NotATable) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_15(&self, e: &CannotExtendTable) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_14(&self, e: &CannotCompareUnrelatedTypes) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_36(&self, e: &OnlyTablesCanHaveMethods) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_22(&self, e: &DuplicateTypeDefinition) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_19(&self, e: &CountMismatch) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_24(&self, _: &FunctionDoesNotTakeSelf) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_26(&self, _e: &FunctionRequiresSelf) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_35(&self, _: &OccursCheckFailed) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_44(&self, e: &UnknownRequire) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_29(&self, e: &IncorrectGenericParameterCount) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_39(&self, e: &SyntaxError) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_17(&self, _error: &CodeTooComplex) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_41(&self, _: &UnificationTooComplex) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_42(&self, e: &UnknownPropButFoundLikeProp) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_27(&self, e: &GenericError) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_30(&self, e: &InternalError) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_18(&self, _e: &ConstraintSolvingIncompleteError) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_13(&self, e: &CannotCallNonFunction) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_23(&self, e: &ExtraInformation) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_20(&self, e: &DeprecatedApiUsed) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_33(&self, e: &ModuleHasCyclicDependency) -> String
Source§impl ErrorConverter
impl ErrorConverter
pub fn operator_call_25(&self, e: &FunctionExitsWithoutReturning) -> String
Trait Implementations§
Source§impl Clone for ErrorConverter
impl Clone for ErrorConverter
Source§fn clone(&self) -> ErrorConverter
fn clone(&self) -> ErrorConverter
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ErrorConverter
impl Debug for ErrorConverter
Source§impl Default for ErrorConverter
impl Default for ErrorConverter
impl Send for ErrorConverter
impl Sync for ErrorConverter
Auto Trait Implementations§
impl Freeze for ErrorConverter
impl RefUnwindSafe for ErrorConverter
impl Unpin for ErrorConverter
impl UnsafeUnpin for ErrorConverter
impl UnwindSafe for ErrorConverter
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more