]> git.lizzy.rs Git - rust.git/commit
Remove unnecessary TypeFlags::NOMINAL_FLAGS
authorTheo Sandstrom <theo.j.sandstrom@gmail.com>
Wed, 8 Apr 2020 01:57:31 +0000 (21:57 -0400)
committerTheo Sandstrom <theo.j.sandstrom@gmail.com>
Wed, 8 Apr 2020 01:57:31 +0000 (21:57 -0400)
commit4cdb2065eff17ffbaa72181b63ff2827ef76720c
tree3c07f5bb5e843f0916398e279709b17568a15018
parent42abbd8878d3b67238f3611b0587c704ba94f39c
Remove unnecessary TypeFlags::NOMINAL_FLAGS

This was a relic from when we had "nominal flags" and "cached
properties." The latter no longer exists, so nominal flags are no
longer necessary. In fact, every flag is considered a nominal flag. I
went ahead and removed all references to NOMINAL_FLAGS.

Fixes rust-lang#70836
src/librustc_middle/ty/flags.rs
src/librustc_middle/ty/mod.rs