mirror of
https://github.com/xazukx/ts-rs.git
synced 2026-11-19 22:40:25 +00:00
Change ignore to compile_fail
This commit is contained in:
+4
-4
@@ -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 { /* .. */ }
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user