From 79c74f658ea50efd0edce47cdf0912465d6a5b54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karol=20Bary=C5=82a?= Date: Mon, 27 Jan 2025 21:06:17 +0100 Subject: [PATCH] Hygiene: Add test that verifies some re-exports. --- scylla/tests/integration/hygiene.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scylla/tests/integration/hygiene.rs b/scylla/tests/integration/hygiene.rs index 3b000e888..694b3178f 100644 --- a/scylla/tests/integration/hygiene.rs +++ b/scylla/tests/integration/hygiene.rs @@ -172,6 +172,14 @@ macro_rules! test_crate { } } + // The purpose of this test is to verify that the important types are + // correctly re-exported in `scylla` crate. + #[test] + fn test_types_imports() { + #[allow(unused_imports)] + use _scylla::frame::response::result::{CollectionType, ColumnType, NativeType, CqlValue, UserDefinedType}; + } + // Test attributes for value struct with name flavor #[derive( _scylla::macros::DeserializeValue, _scylla::macros::SerializeValue, PartialEq, Debug,