diff options
| author | David Wood <david@davidtw.co> | 2019-03-22 17:19:12 +0100 |
|---|---|---|
| committer | David Wood <david@davidtw.co> | 2019-03-28 22:29:02 +0100 |
| commit | 3a88cd77781965118f9860b76341b7fe249df061 (patch) | |
| tree | b57c8bc923ef6244abbb4e7b0aa8911c276081b7 /src/test/incremental/thinlto | |
| parent | 4187560bdf513e959e3dc3d720128c0a87ab9c61 (diff) | |
| download | rust-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/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
