Change ignore to compile_fail

This commit is contained in:
Gustavo
2024-03-08 15:55:56 -03:00
parent 4c93ebe0f4
commit 4cc011c8e0
+4 -4
View File
@@ -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<A, B, const C: usize> { /* ... */ }
/// ```
/// 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 { /* .. */ }
///