Skip to main content

mangle_method

Function mangle_method 

Source
pub fn mangle_method(type_name: &str, method_name: &str) -> SmolStr
Expand description

Builds the mangled free-function symbol an impl Type { fn method ... } lowers to.

Used by the parser when lowering method declarations and by the compiler/type-checker when resolving a recv.method(...) call site.