Skip to content

Commit

Permalink
Update scope of rust.Exhaustive
Browse files Browse the repository at this point in the history
Summary: The unstructured annotation is a no-op on unions but does work on exceptions

Reviewed By: dtolnay

Differential Revision: D68180718

fbshipit-source-id: 3f9e11ac433dc708b670b403b8052f8c3d89e563
  • Loading branch information
iahs authored and facebook-github-bot committed Jan 15, 2025
1 parent dcc1226 commit 4766f94
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions thrift/annotation/rust.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ struct Box {
}

@scope.Struct
@scope.Exception
struct Exhaustive {
// # `rust.Exhaustive`
//
Expand Down

0 comments on commit 4766f94

Please sign in to comment.