diff --git a/rust/upb/arena.rs b/rust/upb/arena.rs index bd103c5a2d..3429d54768 100644 --- a/rust/upb/arena.rs +++ b/rust/upb/arena.rs @@ -208,7 +208,7 @@ mod tests { #[gtest] fn assert_arena_linked() { - use super::super::assert_linked; + use crate::assert_linked; assert_linked!(upb_Arena_New); assert_linked!(upb_Arena_Free); assert_linked!(upb_Arena_Malloc); diff --git a/rust/upb/array.rs b/rust/upb/array.rs index b4b8e822b5..eb2d8868a4 100644 --- a/rust/upb/array.rs +++ b/rust/upb/array.rs @@ -33,7 +33,7 @@ mod tests { #[gtest] fn assert_array_linked() { - use super::super::assert_linked; + use crate::assert_linked; assert_linked!(upb_Array_New); assert_linked!(upb_Array_Size); assert_linked!(upb_Array_Set); diff --git a/rust/upb/map.rs b/rust/upb/map.rs index db8e132b4e..8b3b78b286 100644 --- a/rust/upb/map.rs +++ b/rust/upb/map.rs @@ -55,7 +55,7 @@ mod tests { #[gtest] fn assert_map_linked() { - use super::super::assert_linked; + use crate::assert_linked; assert_linked!(upb_Map_New); assert_linked!(upb_Map_Size); assert_linked!(upb_Map_Insert); diff --git a/rust/upb/message.rs b/rust/upb/message.rs index e3388b167e..0a89dde180 100644 --- a/rust/upb/message.rs +++ b/rust/upb/message.rs @@ -310,7 +310,7 @@ mod tests { #[gtest] fn assert_message_linked() { - use super::super::assert_linked; + use crate::assert_linked; assert_linked!(upb_Message_New); assert_linked!(upb_Message_Clear); assert_linked!(upb_Message_ClearBaseField); diff --git a/rust/upb/mini_table.rs b/rust/upb/mini_table.rs index 683936672c..db76fcf14b 100644 --- a/rust/upb/mini_table.rs +++ b/rust/upb/mini_table.rs @@ -54,7 +54,7 @@ mod tests { #[gtest] fn assert_mini_table_linked() { - use super::super::assert_linked; + use crate::assert_linked; assert_linked!(upb_MiniTable_FindFieldByNumber); assert_linked!(upb_MiniTable_GetFieldByIndex); assert_linked!(upb_MiniTable_SubMessage); diff --git a/rust/upb/text.rs b/rust/upb/text.rs index 96cbd6516d..39d164439b 100644 --- a/rust/upb/text.rs +++ b/rust/upb/text.rs @@ -72,7 +72,7 @@ mod tests { #[gtest] fn assert_text_linked() { - use super::super::assert_linked; + use crate::assert_linked; assert_linked!(upb_DebugString); } } diff --git a/rust/upb/wire.rs b/rust/upb/wire.rs index 439899270f..b407360cf0 100644 --- a/rust/upb/wire.rs +++ b/rust/upb/wire.rs @@ -130,7 +130,7 @@ mod tests { #[gtest] fn assert_wire_linked() { - use super::super::assert_linked; + use crate::assert_linked; assert_linked!(upb_Encode); assert_linked!(upb_Decode); }