From 4cc011c8e03ed871653bbee2f6e77d485d99f97a Mon Sep 17 00:00:00 2001 From: Gustavo Date: Fri, 8 Mar 2024 15:55:56 -0300 Subject: [PATCH] Change ignore to compile_fail --- macros/src/lib.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/macros/src/lib.rs b/macros/src/lib.rs index e82f3b5..f66aa3e 100644 --- a/macros/src/lib.rs +++ b/macros/src/lib.rs @@ -116,12 +116,12 @@ impl DerivedTS { } /// Generate a dummy unit struct for every generic type parameter of this type. - /// Example: - /// ```ignore + /// # Example: + /// ```compile_fail /// struct Generic { /* ... */ } /// ``` - /// has two generic type parameters, `A` and `B`. This function will therefor generate - /// ```ignore + /// has two generic type parameters, `A` and `B`. This function will therefore generate + /// ```compile_fail /// struct A; /// impl ts_rs::TS for A { /* .. */ } ///