about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorDylan MacKenzie <ecstaticmorse@gmail.com>2019-09-25 12:53:28 -0700
committerDylan MacKenzie <ecstaticmorse@gmail.com>2019-09-28 07:06:52 -0700
commita302055caac70f51641cdad1dfa87f134090496a (patch)
tree0fb0a2f6c59f7b80041cd51670804f94e17838c2 /src/libsyntax
parentff6faabda7840db86b90663f239bac909bae3a18 (diff)
downloadrust-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')
0 files changed, 0 insertions, 0 deletions