E0434
rust Inner Function Captures Environment
An inner function defined with fn attempts to access variables from its enclosing scope, which is not permitted. Use a closure instead of an inner fn to capture the surrounding environment.
An inner function defined with fn attempts to access variables from its enclosing scope, which is not permitted. Use a closure instead of an inner fn to capture the surrounding environment.