Skip to main content

Module errors

Module errors 

Source

Structsยง

AmbiguityBetweenVariantAndAssocItem ๐Ÿ”’

Enumsยง

GenericsArgsErrExtend
Used for generics args error extend.

Functionsยง

assoc_tag_str ๐Ÿ”’
eq_ctxt_suggestion_span ๐Ÿ”’
Computes the pat.between(ty) span for the โ€œuse =โ€ suggestion on let pat: ty. Returns None if pat and ty are in incompatible macro contexts (e.g. pat is a metavariable from the call site while ty lives in the macro body), in which case no suggestion is emitted.
fn_trait_to_string ๐Ÿ”’
generics_args_err_extend ๐Ÿ”’
prohibit_assoc_item_constraint
Emit an error for the given associated item constraint.