]> git.lizzy.rs Git - rust.git/commit
Merge #711
authorbors[bot] <bors[bot]@users.noreply.github.com>
Wed, 30 Jan 2019 20:45:35 +0000 (20:45 +0000)
committerbors[bot] <bors[bot]@users.noreply.github.com>
Wed, 30 Jan 2019 20:45:35 +0000 (20:45 +0000)
commitdb17e06c2eec892ab807fd191bc11b15d8da42e2
tree18046068a9d7bb72747bbabfc22d1121fea1604a
parentc65e6cdcb3d603ce7c0943785f7140662022c54a
parent1acff307fe2e20f0c2291fd24b08fba6fa39e5ee
Merge #711

711: Rename FnScopes and move them below the expr module r=matklad a=flodiebold

Extracted from #693 to reduce the diff and make rebasing easier for me :wink:

The scopes belong to a body, which could be that of a function, but also a constant, static or array size. So this moves them to a submodule of `expr`.

Also move the `expr_scopes` query from `query_definitions` to that module.

Co-authored-by: Florian Diebold <flodiebold@gmail.com>