diff options
author | bors <bors@rust-lang.org> | 2021-10-20 07:21:01 +0000 |
---|---|---|
committer | bors <bors@rust-lang.org> | 2021-10-20 07:21:01 +0000 |
commit | 6162529a01473bbb2427fa27354cbafc3c514eee (patch) | |
tree | ada1156ba17179deaca7ba04d89a4410a2aeeb72 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
parent | 42983a28ab3c70728da7a9b932b667c978dd898d (diff) | |
parent | c1e8fc8c97831ac1d167e54c3d7b84305c697b87 (diff) | |
download | rust-6162529a01473bbb2427fa27354cbafc3c514eee.tar.gz |
Auto merge of #89100 - petrochenkov:localbind, r=cjgillot
resolve: Use `NameBinding` for local variables and generic parameters
`NameBinding` is a structure used for representing any name introduction (an item, or import, or even a built-in).
Except that local variables and generic parameters weren't represented as `NameBinding`s, for this reason they requires separate paths in name resolution code in several places.
This PR introduces `NameBinding`s for local variables as well and simplifies all the code working with them leaving only the `NameBinding` paths.
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions