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] [Closed] (THRIFT-4330) Allow unused crates in Rust files
Date Thu, 14 Dec 2017 13:56:14 GMT

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

James E. King, III closed THRIFT-4330.
--------------------------------------

> Allow unused crates in Rust files
> ---------------------------------
>
>                 Key: THRIFT-4330
>                 URL: https://issues.apache.org/jira/browse/THRIFT-4330
>             Project: Thrift
>          Issue Type: Improvement
>            Reporter: Ivan Sadikov
>            Assignee: Ivan Sadikov
>            Priority: Trivial
>             Fix For: 0.11.0
>
>
> Currently thrift generated .rs files include following attributes:
> #![allow(unused_imports)]
> #![cfg_attr(feature = "cargo-clippy", allow(too_many_arguments, type_complexity))]
> #![cfg_attr(rustfmt, rustfmt_skip)] 
> I propose to add 
> #![allow(unused_extern_crates)]
> to remove warning when using Rust nightly.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message