[
https://issues.apache.org/jira/browse/THRIFT-4764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16755280#comment-16755280
]
Allen George commented on THRIFT-4764:
--------------------------------------
Do you know if this works on Rust 1.21? IIRC it does not, which is why I kept
the old clippy attributes? I can check this though.
> Rust frontend emits deprecated clippy suppression attributes
> ------------------------------------------------------------
>
> Key: THRIFT-4764
> URL: https://issues.apache.org/jira/browse/THRIFT-4764
> Project: Thrift
> Issue Type: Improvement
> Components: Rust - Compiler
> Environment: Ubuntu Cosmic x64
> Thrift from master
> Reporter: Mikail Bagishov
> Priority: Minor
>
> Currently, following lines are inserted:
> {code:none}
> #![cfg_attr(feature = "cargo-clippy", allow(too_many_arguments,
> type_complexity))]
> {code}
> But this syntax is deprecated now.
> Following should be used instead:
> {code:none}
> #![allow(clippy::too_many_arguments, clippy::type_complexity)]
> {code}
> Note: I fixed this issue in my [fork|http://github.com/MikailBag/thrift], but
> I'm not sure if it will be easier for developers to merge my PR than apply
> changes themselves. Also, I'm student and my Git skills are not very good)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)