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

Fix unused warnings in Rust Proto #16653

Merged
merged 1 commit into from Apr 29, 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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 0 additions & 1 deletion rust/BUILD
Expand Up @@ -48,7 +48,6 @@ rust_library(
PROTOBUF_SHARED = [
"enum.rs",
"internal.rs",
"macros.rs",
"optional.rs",
"primitive.rs",
"proxied.rs",
Expand Down
2 changes: 1 addition & 1 deletion rust/cpp.rs
Expand Up @@ -10,7 +10,7 @@
use crate::__internal::{Enum, Private};
use crate::{
Map, MapIter, Mut, ProtoStr, Proxied, ProxiedInMapValue, ProxiedInRepeated, Repeated,
RepeatedMut, RepeatedView, SettableValue, View,
RepeatedMut, RepeatedView, View,
};
use core::fmt::Debug;
use paste::paste;
Expand Down
47 changes: 0 additions & 47 deletions rust/macros.rs

This file was deleted.

1 change: 0 additions & 1 deletion rust/shared.rs
Expand Up @@ -56,7 +56,6 @@ pub mod __runtime;

#[path = "enum.rs"]
mod r#enum;
mod macros;
mod map;
mod optional;
mod primitive;
Expand Down
1 change: 0 additions & 1 deletion rust/string.rs
Expand Up @@ -13,7 +13,6 @@ use crate::__internal::Private;
use crate::__runtime::{
BytesAbsentMutData, BytesPresentMutData, InnerBytesMut, PtrAndLen, RawMessage,
};
use crate::macros::impl_forwarding_settable_value;
use crate::{
AbsentField, FieldEntry, Mut, MutProxied, MutProxy, Optional, PresentField, Proxied,
ProxiedWithPresence, SettableValue, View, ViewProxy,
Expand Down
2 changes: 1 addition & 1 deletion rust/upb.rs
Expand Up @@ -10,7 +10,7 @@
use crate::__internal::{Enum, Private};
use crate::{
Map, MapIter, MapMut, MapView, Mut, ProtoStr, Proxied, ProxiedInMapValue, ProxiedInRepeated,
Repeated, RepeatedMut, RepeatedView, SettableValue, View, ViewProxy,
Repeated, RepeatedMut, RepeatedView, View, ViewProxy,
};
use core::fmt::Debug;
use std::alloc::Layout;
Expand Down