Add an optional `@ast::Pat` to `node_local`, borrowck needs the span.