mirror of
https://github.com/Noratrieb/accursed-unutterable-type-id.git
synced 2026-01-15 17:05:11 +01:00
works!
This commit is contained in:
parent
8d11f678c1
commit
efe0592c25
3 changed files with 53 additions and 40 deletions
24
src/lib.rs
24
src/lib.rs
|
|
@ -106,9 +106,29 @@ mod __doctest {
|
|||
/// use accursed_unutterable_type_id::AccursedUnutterablyTypeIdentified;
|
||||
///
|
||||
/// #[derive(AccursedUnutterablyTypeIdentified)]
|
||||
/// struct Uwu<'a, T, const N: usize> {
|
||||
/// _x: &'a [T; N],
|
||||
/// struct Uwu<T: 'static, const N: usize> {
|
||||
/// _x: [T; N],
|
||||
/// }
|
||||
/// ```
|
||||
mod complex {}
|
||||
|
||||
/// ```
|
||||
/// use accursed_unutterable_type_id::AccursedUnutterablyTypeIdentified;
|
||||
///
|
||||
/// #[derive(AccursedUnutterablyTypeIdentified)]
|
||||
/// struct Uwu<T> {
|
||||
/// _x: T,
|
||||
/// }
|
||||
/// ```
|
||||
mod static_ty_param {}
|
||||
|
||||
/// ```
|
||||
/// use accursed_unutterable_type_id::AccursedUnutterablyTypeIdentified;
|
||||
///
|
||||
/// #[derive(AccursedUnutterablyTypeIdentified)]
|
||||
/// struct Uwu<T> where T: Copy {
|
||||
/// _x: T,
|
||||
/// }
|
||||
/// ```
|
||||
mod where_clause {}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue