about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-08-07 10:22:06 +0000
committerbors <bors@rust-lang.org>2019-08-07 10:22:06 +0000
commit286d528a453e0a5abb28d1ff26e91e92b139afef (patch)
treee7df5def3d79399731b1f0795ea6a8792dbe2a2c /src/test/incremental/thinlto
parent8fed08dfb1c05c89c54879c052620316548afa6c (diff)
parent0a988c663080f5c59ccd5a1d1f4e7903495871fd (diff)
downloadrust-286d528a453e0a5abb28d1ff26e91e92b139afef.tar.gz
rust-286d528a453e0a5abb28d1ff26e91e92b139afef.zip
Auto merge of #4345 - phansch:enum_variants_fix, r=flip1995
Don't emit enum_variant_names if remainder starts with a numeric

changelog: Fix false positive in `pub_enum_variant_names` and `enum_variant_names`

As [per the reference](https://doc.rust-lang.org/reference/identifiers.html), identifiers must start with a letter. So we don't suggest a better
variant naming in case the remainder would start with a numeric.

Fixes #739
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions