From 2bc5a779bdc3fce67e06c398ac8702fcbea93dab Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Thu, 30 Apr 2015 11:05:21 +0200 Subject: [PATCH] fix(header): exporting test_header! macro That way, third-parties can keep using the `header!` macro, which now requires the `test_header!` macro as well. Considering the `header!` macro is exported and part of the public API, it was not desired to prevent it's usage in any way. --- src/header/common/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/header/common/mod.rs b/src/header/common/mod.rs index 4a68752889..fd60f930af 100644 --- a/src/header/common/mod.rs +++ b/src/header/common/mod.rs @@ -95,6 +95,7 @@ macro_rules! deref( } ); +#[macro_export] macro_rules! test_header { ($id:ident, $raw:expr) => { #[test]