MCPcopy Create free account
hub / github.com/LPC4/Full-Stack / expected_enum_name

Function expected_enum_name

crates/hll-to-ir/src/monomorphize.rs:1902–1907  ·  view source on GitHub ↗

A concrete enum type's mangled name, or None if `expected` is not a plain Named.

(expected: Option<&Type>)

Source from the content-addressed store, hash-verified

1900 }
1901 }
1902 }
1903 Expression::Primary(primary) => match primary {
1904 PrimaryExpr::FunctionCall {
1905 name,
1906 type_arguments,
1907 arguments,
1908 } => {
1909 for argument in arguments {
1910 rewrite_expression_calls(argument, substitutions, definitions, queue, queued)?;

Callers 3

constructor_targetMethod · 0.85
rewrite_matchMethod · 0.85

Calls 1

cloneMethod · 0.45

Tested by

no test coverage detected