You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ko...@apache.org on 2019/05/31 06:40:39 UTC

[arrow] branch master updated: ARROW-5455: [Rust] Build broken by 2019-05-30 Rust nightly

This is an automated email from the ASF dual-hosted git repository.

kou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/master by this push:
     new a40aee6  ARROW-5455: [Rust] Build broken by 2019-05-30 Rust nightly
a40aee6 is described below

commit a40aee6cad2add60fc7a2360b36d31b2255a5262
Author: Chao Sun <su...@apache.org>
AuthorDate: Fri May 31 15:40:27 2019 +0900

    ARROW-5455: [Rust] Build broken by 2019-05-30 Rust nightly
    
    Temporarily disable the lint on bare trait objects. Will switch to the new "dyn trait" syntax later and re-enable the lint.
    
    Author: Chao Sun <su...@apache.org>
    
    Closes #4429 from sunchao/ARROW-5455 and squashes the following commits:
    
    05d66771 <Chao Sun> ARROW-5455:  Build broken by 2019-05-30 Rust nightly
---
 rust/arrow/src/lib.rs           | 1 +
 rust/datafusion/src/bin/repl.rs | 2 ++
 rust/datafusion/src/lib.rs      | 1 +
 rust/parquet/src/lib.rs         | 1 +
 4 files changed, 5 insertions(+)

diff --git a/rust/arrow/src/lib.rs b/rust/arrow/src/lib.rs
index fb7bec7..a7ef817 100644
--- a/rust/arrow/src/lib.rs
+++ b/rust/arrow/src/lib.rs
@@ -24,6 +24,7 @@
 #![feature(specialization)]
 #![allow(dead_code)]
 #![allow(non_camel_case_types)]
+#![allow(bare_trait_objects)]
 
 pub mod array;
 pub mod array_data;
diff --git a/rust/datafusion/src/bin/repl.rs b/rust/datafusion/src/bin/repl.rs
index ac73b26..88a8894 100644
--- a/rust/datafusion/src/bin/repl.rs
+++ b/rust/datafusion/src/bin/repl.rs
@@ -15,6 +15,8 @@
 // specific language governing permissions and limitations
 // under the License.
 
+#![allow(bare_trait_objects)]
+
 #[macro_use]
 extern crate clap;
 
diff --git a/rust/datafusion/src/lib.rs b/rust/datafusion/src/lib.rs
index 22805cf..65ff375 100644
--- a/rust/datafusion/src/lib.rs
+++ b/rust/datafusion/src/lib.rs
@@ -19,6 +19,7 @@
 //! Apache Arrow as the memory model
 
 #![warn(missing_docs)]
+#![allow(bare_trait_objects)]
 
 extern crate arrow;
 #[macro_use]
diff --git a/rust/parquet/src/lib.rs b/rust/parquet/src/lib.rs
index 1e247d5..8d23e89 100644
--- a/rust/parquet/src/lib.rs
+++ b/rust/parquet/src/lib.rs
@@ -18,6 +18,7 @@
 #![feature(specialization)]
 #![allow(dead_code)]
 #![allow(non_camel_case_types)]
+#![allow(bare_trait_objects)]
 
 #[macro_use]
 pub mod errors;