Rellum Rellum

S0152: unsupported f-string interpolation

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

Explanation

F-string interpolation converts String values directly and primitive scalar values through to_string(). Complex values must be converted explicitly so production strings do not accidentally depend on implicit debug-style formatting.

Common causes

Canonical fixes

Before:

f"value: {maybe_n}"

After:

f"value: {to_string(maybe_n)}"

Code example

f"value: {maybe_n}"