thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James E. King III (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (THRIFT-4764) Rust frontend emits deprecated clippy suppression attributes
Date Tue, 29 Jan 2019 23:36:00 GMT

    [ https://issues.apache.org/jira/browse/THRIFT-4764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16755474#comment-16755474
] 

James E. King III commented on THRIFT-4764:
-------------------------------------------

The languages matrix for 0.12.0 says we're compatible with 1.17.0 to 1.30.0.  I wouldn't mind
moving things forward a little bit here.

> 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)

Mime
View raw message