Rellum Rellum

S0112: cannot infer type argument

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

Explanation

Call-site generic inference is local. Each type parameter must appear in an argument position or be supplied explicitly; otherwise the compiler has no concrete type to use for monomorphization.

Common causes

Canonical fixes

Before:

make_empty()

After:

make_empty[Int]()

Code example

make_empty()