about summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src/errors.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2022-07-08 15:31:09 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2022-07-11 14:09:53 +1000
commit4bcbd76bc9f8e3a22b251cbdfb21ba7815d61c7f (patch)
treeed3b1d29c4b6c8157df167e9f1ce7f8523686146 /compiler/rustc_const_eval/src/errors.rs
parentf1d9e2b50c71afe82ead3e99069a3fb1f96301b8 (diff)
downloadrust-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