Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove use of box_pointers lint #733

Merged
merged 1 commit into from
Aug 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion protobuf-codegen/src/gen/code_writer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]");
Expand Down
1 change: 0 additions & 1 deletion protobuf/src/descriptor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down
1 change: 0 additions & 1 deletion protobuf/src/doctest_pb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down
1 change: 0 additions & 1 deletion protobuf/src/plugin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down
1 change: 0 additions & 1 deletion protobuf/src/rustproto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down
1 change: 0 additions & 1 deletion protobuf/src/well_known_types/any.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down
1 change: 0 additions & 1 deletion protobuf/src/well_known_types/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand All @@ -28,7 +27,7 @@
/// from API Services, which represent a concrete implementation of an interface
/// as opposed to simply a description of methods and bindings. They are also
/// sometimes simply referred to as "APIs" in other contexts, such as the name of
/// this message itself. See https://cloud.google.com/apis/design/glossary for

Check warning on line 30 in protobuf/src/well_known_types/api.rs

View workflow job for this annotation

GitHub Actions / linux nightly (all features)

this URL is not a hyperlink

Check warning on line 30 in protobuf/src/well_known_types/api.rs

View workflow job for this annotation

GitHub Actions / linux beta (default features)

this URL is not a hyperlink

Check warning on line 30 in protobuf/src/well_known_types/api.rs

View workflow job for this annotation

GitHub Actions / linux stable (default features)

this URL is not a hyperlink
/// detailed terminology.
// @@protoc_insertion_point(message:google.protobuf.Api)
#[derive(PartialEq,Clone,Default,Debug)]
Expand Down
1 change: 0 additions & 1 deletion protobuf/src/well_known_types/duration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down
1 change: 0 additions & 1 deletion protobuf/src/well_known_types/empty.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down
1 change: 0 additions & 1 deletion protobuf/src/well_known_types/field_mask.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down
1 change: 0 additions & 1 deletion protobuf/src/well_known_types/source_context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down
1 change: 0 additions & 1 deletion protobuf/src/well_known_types/struct_.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down
1 change: 0 additions & 1 deletion protobuf/src/well_known_types/timestamp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down
1 change: 0 additions & 1 deletion protobuf/src/well_known_types/type_.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down
1 change: 0 additions & 1 deletion protobuf/src/well_known_types/wrappers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down
Loading