Rellum Rellum

S0113: conflicting generic type inference

Generated from rellum-diagnostics/src/db.rs.

Explanation

A single type parameter must resolve to one concrete type for a given generic call. If different arguments imply different concrete types for the same parameter, the compiler cannot instantiate a coherent function body.

Common causes

Canonical fixes

Before:

same(1, "one")

After:

same(1, 2)

Code example

same(1, "one")