[ 
https://issues.apache.org/jira/browse/THRIFT-4764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Allen George reassigned THRIFT-4764:
------------------------------------

    Assignee: Allen George

> 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
>            Assignee: Allen George
>            Priority: Minor
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> 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
(v8.3.4#803005)

Reply via email to