Skip to content

Commit b0c90a8

Browse files
David Tolnayfacebook-github-bot
David Tolnay
authored andcommitted
Implement @rust.Name on consts
Summary: Might as well. This is easier than documenting why it is not supported. Reviewed By: diliop Differential Revision: D71597221 fbshipit-source-id: 75b57ed91b2aa397d3bee73dcd9f1b497285a341
1 parent c7634b1 commit b0c90a8

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

thrift/annotation/rust.thrift

+1-9
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,7 @@ namespace py.asyncio facebook_thrift_asyncio.annotation.rust
2424
namespace go thrift.annotation.rust
2525
namespace py thrift.annotation.rust
2626

27-
// This is scope.Definition minus scope.Const
28-
@scope.Function
29-
@scope.EnumValue
30-
@scope.Enum
31-
@scope.Structured
32-
@scope.Field
33-
@scope.Typedef
34-
@scope.Service
35-
@scope.Interaction
27+
@scope.Definition
3628
struct Name {
3729
// # `rust.Name`
3830
//

0 commit comments

Comments
 (0)