diff options
| author | Dylan MacKenzie <ecstaticmorse@gmail.com> | 2019-09-25 12:53:28 -0700 |
|---|---|---|
| committer | Dylan MacKenzie <ecstaticmorse@gmail.com> | 2019-09-28 07:06:52 -0700 |
| commit | a302055caac70f51641cdad1dfa87f134090496a (patch) | |
| tree | 0fb0a2f6c59f7b80041cd51670804f94e17838c2 /src/libsyntax/parse | |
| parent | ff6faabda7840db86b90663f239bac909bae3a18 (diff) | |
| download | rust-a302055caac70f51641cdad1dfa87f134090496a.tar.gz rust-a302055caac70f51641cdad1dfa87f134090496a.zip | |
Mask results from flow-sensitive resolver with `in_any_value_of_ty`
We relied previously on the caller (e.g. `Q::in_operand`) to ignore `Local`s that were indirectly mutable (and thus assumed to be qualified). However, it's much clearer (and more efficient) to do this in the resolver itself. This does not yet remove the masking done in `Q::in_operand` and others for safety's sake, although I believe that should now be possible.
Diffstat (limited to 'src/libsyntax/parse')
0 files changed, 0 insertions, 0 deletions
