Rellum Rellum

S0111: wrong number of type arguments

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

Explanation

Generic functions declare a fixed list of type parameters. An explicit type-argument list must provide exactly one concrete type for each parameter so the compiler can instantiate a single monomorphized function.

Common causes

Canonical fixes

Before:

identity[Int, String](42)

After:

identity[Int](42)

Before:

identity[Int](42)

After:

identity(42)

Code example

identity[Int, String](42)