about summary refs log tree commit diff
path: root/src/test/ui/thinlto
diff options
context:
space:
mode:
authorDavid Wood <david@davidtw.co>2019-03-22 17:19:12 +0100
committerDavid Wood <david@davidtw.co>2019-03-28 22:29:02 +0100
commit3a88cd77781965118f9860b76341b7fe249df061 (patch)
treeb57c8bc923ef6244abbb4e7b0aa8911c276081b7 /src/test/ui/thinlto
parent4187560bdf513e959e3dc3d720128c0a87ab9c61 (diff)
downloadrust-3a88cd77781965118f9860b76341b7fe249df061.tar.gz
rust-3a88cd77781965118f9860b76341b7fe249df061.zip
Implement `#[non_exhaustive]` on variants.
This commit removes the check that disallows the `#[non_exhaustive]`
attribute from being placed on enum variants and removes the associated
tests.

Further, this commit lowers the visibility of enum variant constructors
when the variant is marked as non-exhaustive.
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions