diff options
| author | Noah Lev <camelidcamel@gmail.com> | 2021-11-06 23:10:01 -0700 |
|---|---|---|
| committer | Noah Lev <camelidcamel@gmail.com> | 2021-11-07 08:41:18 -0800 |
| commit | 7b7023cb723775fa20bda42e97dbc44abe7ecb0c (patch) | |
| tree | 2e2407a5108e2369989d9b28a33b717d5e2661b7 /tests/debuginfo/enum-thinlto.rs | |
| parent | c32ee54380bfa39cb300a330f1ce886b9f90eaaf (diff) | |
| download | rust-7b7023cb723775fa20bda42e97dbc44abe7ecb0c.tar.gz rust-7b7023cb723775fa20bda42e97dbc44abe7ecb0c.zip | |
rustdoc: Refactor `Impl.{synthetic,blanket_impl}` into enum
This change has two advantages: 1. It makes the possible states clearer, and it makes it impossible to construct invalid states, such as a blanket impl that is also an auto trait impl. 2. It shrinks the size of `Impl` a bit, since now there is only one field, rather than two.
Diffstat (limited to 'tests/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions
