diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-07-08 15:31:09 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-07-11 14:09:53 +1000 |
| commit | 4bcbd76bc9f8e3a22b251cbdfb21ba7815d61c7f (patch) | |
| tree | ed3b1d29c4b6c8157df167e9f1ce7f8523686146 /compiler/rustc_const_eval/src/errors.rs | |
| parent | f1d9e2b50c71afe82ead3e99069a3fb1f96301b8 (diff) | |
| download | rust-4bcbd76bc9f8e3a22b251cbdfb21ba7815d61c7f.tar.gz rust-4bcbd76bc9f8e3a22b251cbdfb21ba7815d61c7f.zip | |
Move the no-variants handling code earlier in `expand_enum_method_body`.
To avoid computing a bunch of stuff that it doesn't need.
Diffstat (limited to 'compiler/rustc_const_eval/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
