$ errors.fyi/rust/E0401 74 namespaces · 3,092 codes
rust · rust/E0401
E0401

Inner Item Uses Outer Generic

A nested item such as an inner function or struct tries to use a generic parameter from its enclosing scope. Inner items are treated as top-level definitions and must explicitly redeclare any generic parameters they require.

References

In this namespace

» community-maintained · contribute on GitHub npm i -g errors-fyi && errorfyi ENOENT