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.