diff --git a/protobuf-codegen/src/gen/code_writer.rs b/protobuf-codegen/src/gen/code_writer.rs index 28b381781..17b177f7e 100644 --- a/protobuf-codegen/src/gen/code_writer.rs +++ b/protobuf-codegen/src/gen/code_writer.rs @@ -85,7 +85,6 @@ impl<'a> CodeWriter<'a> { self.write_line("#![allow(unused_attributes)]"); self.write_line("#![cfg_attr(rustfmt, rustfmt::skip)]"); self.write_line(""); - self.write_line("#![allow(box_pointers)]"); self.write_line("#![allow(dead_code)]"); self.write_line("#![allow(missing_docs)]"); self.write_line("#![allow(non_camel_case_types)]"); diff --git a/protobuf/src/descriptor.rs b/protobuf/src/descriptor.rs index 41893ad56..0f1abf238 100644 --- a/protobuf/src/descriptor.rs +++ b/protobuf/src/descriptor.rs @@ -9,7 +9,6 @@ #![allow(unused_attributes)] #![cfg_attr(rustfmt, rustfmt::skip)] -#![allow(box_pointers)] #![allow(dead_code)] #![allow(missing_docs)] #![allow(non_camel_case_types)] diff --git a/protobuf/src/doctest_pb.rs b/protobuf/src/doctest_pb.rs index 30a35491a..c2a4f680b 100644 --- a/protobuf/src/doctest_pb.rs +++ b/protobuf/src/doctest_pb.rs @@ -9,7 +9,6 @@ #![allow(unused_attributes)] #![cfg_attr(rustfmt, rustfmt::skip)] -#![allow(box_pointers)] #![allow(dead_code)] #![allow(missing_docs)] #![allow(non_camel_case_types)] diff --git a/protobuf/src/plugin.rs b/protobuf/src/plugin.rs index 5ecbd18fc..330f4f730 100644 --- a/protobuf/src/plugin.rs +++ b/protobuf/src/plugin.rs @@ -9,7 +9,6 @@ #![allow(unused_attributes)] #![cfg_attr(rustfmt, rustfmt::skip)] -#![allow(box_pointers)] #![allow(dead_code)] #![allow(missing_docs)] #![allow(non_camel_case_types)] diff --git a/protobuf/src/rustproto.rs b/protobuf/src/rustproto.rs index bfe80280f..37da8527a 100644 --- a/protobuf/src/rustproto.rs +++ b/protobuf/src/rustproto.rs @@ -9,7 +9,6 @@ #![allow(unused_attributes)] #![cfg_attr(rustfmt, rustfmt::skip)] -#![allow(box_pointers)] #![allow(dead_code)] #![allow(missing_docs)] #![allow(non_camel_case_types)] diff --git a/protobuf/src/well_known_types/any.rs b/protobuf/src/well_known_types/any.rs index 8deb5d9af..df7c35ae5 100644 --- a/protobuf/src/well_known_types/any.rs +++ b/protobuf/src/well_known_types/any.rs @@ -9,7 +9,6 @@ #![allow(unused_attributes)] #![cfg_attr(rustfmt, rustfmt::skip)] -#![allow(box_pointers)] #![allow(dead_code)] #![allow(missing_docs)] #![allow(non_camel_case_types)] diff --git a/protobuf/src/well_known_types/api.rs b/protobuf/src/well_known_types/api.rs index 44fe536f7..c59d11a7b 100644 --- a/protobuf/src/well_known_types/api.rs +++ b/protobuf/src/well_known_types/api.rs @@ -9,7 +9,6 @@ #![allow(unused_attributes)] #![cfg_attr(rustfmt, rustfmt::skip)] -#![allow(box_pointers)] #![allow(dead_code)] #![allow(missing_docs)] #![allow(non_camel_case_types)] diff --git a/protobuf/src/well_known_types/duration.rs b/protobuf/src/well_known_types/duration.rs index a9b91f201..b0dafd315 100644 --- a/protobuf/src/well_known_types/duration.rs +++ b/protobuf/src/well_known_types/duration.rs @@ -9,7 +9,6 @@ #![allow(unused_attributes)] #![cfg_attr(rustfmt, rustfmt::skip)] -#![allow(box_pointers)] #![allow(dead_code)] #![allow(missing_docs)] #![allow(non_camel_case_types)] diff --git a/protobuf/src/well_known_types/empty.rs b/protobuf/src/well_known_types/empty.rs index 580c2a07c..2e9831ae4 100644 --- a/protobuf/src/well_known_types/empty.rs +++ b/protobuf/src/well_known_types/empty.rs @@ -9,7 +9,6 @@ #![allow(unused_attributes)] #![cfg_attr(rustfmt, rustfmt::skip)] -#![allow(box_pointers)] #![allow(dead_code)] #![allow(missing_docs)] #![allow(non_camel_case_types)] diff --git a/protobuf/src/well_known_types/field_mask.rs b/protobuf/src/well_known_types/field_mask.rs index 732b006b0..c27ab2fcb 100644 --- a/protobuf/src/well_known_types/field_mask.rs +++ b/protobuf/src/well_known_types/field_mask.rs @@ -9,7 +9,6 @@ #![allow(unused_attributes)] #![cfg_attr(rustfmt, rustfmt::skip)] -#![allow(box_pointers)] #![allow(dead_code)] #![allow(missing_docs)] #![allow(non_camel_case_types)] diff --git a/protobuf/src/well_known_types/source_context.rs b/protobuf/src/well_known_types/source_context.rs index d37532f32..b868de248 100644 --- a/protobuf/src/well_known_types/source_context.rs +++ b/protobuf/src/well_known_types/source_context.rs @@ -9,7 +9,6 @@ #![allow(unused_attributes)] #![cfg_attr(rustfmt, rustfmt::skip)] -#![allow(box_pointers)] #![allow(dead_code)] #![allow(missing_docs)] #![allow(non_camel_case_types)] diff --git a/protobuf/src/well_known_types/struct_.rs b/protobuf/src/well_known_types/struct_.rs index f551bc06e..c53bceeeb 100644 --- a/protobuf/src/well_known_types/struct_.rs +++ b/protobuf/src/well_known_types/struct_.rs @@ -9,7 +9,6 @@ #![allow(unused_attributes)] #![cfg_attr(rustfmt, rustfmt::skip)] -#![allow(box_pointers)] #![allow(dead_code)] #![allow(missing_docs)] #![allow(non_camel_case_types)] diff --git a/protobuf/src/well_known_types/timestamp.rs b/protobuf/src/well_known_types/timestamp.rs index 409de9655..0cc88f536 100644 --- a/protobuf/src/well_known_types/timestamp.rs +++ b/protobuf/src/well_known_types/timestamp.rs @@ -9,7 +9,6 @@ #![allow(unused_attributes)] #![cfg_attr(rustfmt, rustfmt::skip)] -#![allow(box_pointers)] #![allow(dead_code)] #![allow(missing_docs)] #![allow(non_camel_case_types)] diff --git a/protobuf/src/well_known_types/type_.rs b/protobuf/src/well_known_types/type_.rs index f6b7b0e01..2181e90c1 100644 --- a/protobuf/src/well_known_types/type_.rs +++ b/protobuf/src/well_known_types/type_.rs @@ -9,7 +9,6 @@ #![allow(unused_attributes)] #![cfg_attr(rustfmt, rustfmt::skip)] -#![allow(box_pointers)] #![allow(dead_code)] #![allow(missing_docs)] #![allow(non_camel_case_types)] diff --git a/protobuf/src/well_known_types/wrappers.rs b/protobuf/src/well_known_types/wrappers.rs index 074017d19..ccf2527b7 100644 --- a/protobuf/src/well_known_types/wrappers.rs +++ b/protobuf/src/well_known_types/wrappers.rs @@ -9,7 +9,6 @@ #![allow(unused_attributes)] #![cfg_attr(rustfmt, rustfmt::skip)] -#![allow(box_pointers)] #![allow(dead_code)] #![allow(missing_docs)] #![allow(non_camel_case_types)]