mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
27503c450b
Clean up `QueryVTable::hash_result` into `hash_value_fn` This PR: - Renames the query vtable field `hash_result` to `hash_value_fn` - Removes the unhelpful `HashResult` type alias, which was hiding an important layer of `Option` - Replaces the cryptic `hash_result!` helper macro with a more straightforward `if_no_hash!` helper, in line with other modifier-checking macros - Renames a few identifiers to refer to a query's return value as `value` There should be no change to compiler behaviour. r? nnethercote (or compiler)