Skip to main content

expected_shape_diagnostic

Function expected_shape_diagnostic 

Source
pub fn expected_shape_diagnostic(
    expected: impl Into<String>,
    actual: impl Into<String>,
) -> Diagnostic
Expand description

Builds a diagnostic for an expected-shape mismatch.