Vendor dependencies

This commit is contained in:
2026-08-01 16:11:49 +03:00
parent 7f139a0241
commit 6b5e7f0f8b
29706 changed files with 9575646 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
use displaydoc::Display;
/// this type is pretty swell
#[derive(Display)]
#[prefix_enum_doc_attributes]
enum TestType {
/// this variant is too
Variant1,
/// this variant is two
Variant2,
}
static_assertions::assert_impl_all!(TestType: core::fmt::Display);
fn main() {}
@@ -0,0 +1,15 @@
use displaydoc::Display;
#[derive(Display)]
#[prefix_enum_doc_attributes]
enum TestType {
/// this variant is too
Variant1,
/// this variant is two
Variant2,
}
static_assertions::assert_impl_all!(TestType: core::fmt::Display);
fn main() {}
+20
View File
@@ -0,0 +1,20 @@
use displaydoc::Display;
/// this type is pretty swell
#[derive(Display)]
enum TestType {
/// This one is okay
Variant1,
/// Multi
/// line
/// doc
/// is
/// pretty
/// swell
Variant2,
}
static_assertions::assert_impl_all!(TestType: core::fmt::Display);
fn main() {}
@@ -0,0 +1,27 @@
use displaydoc::Display;
/// this type is pretty swell
#[derive(Display)]
#[ignore_extra_doc_attributes]
enum TestType {
/// This one is okay
Variant1,
/// Multi
/// line
/// doc.
Variant2,
/// Multi
/// line
/// doc
///
/// with
/// line
/// breaks
Variant3,
}
static_assertions::assert_impl_all!(TestType: core::fmt::Display);
fn main() {}
@@ -0,0 +1,20 @@
use displaydoc::Display;
#[derive(Display)]
/// Multi
/// line
/// doc
/// with
/// line
/// break
///
/// is
/// pretty
/// not
/// swell
/// 😞👊
struct TestType;
static_assertions::assert_impl_all!(TestType: core::fmt::Display);
fn main() {}
@@ -0,0 +1,14 @@
use displaydoc::Display;
#[derive(Display)]
/**
* block
*/
/**
*
*/
struct TestType;
static_assertions::assert_impl_all!(TestType: core::fmt::Display);
fn main() {}
+15
View File
@@ -0,0 +1,15 @@
use displaydoc::Display;
/// this type is pretty swell
#[derive(Display)]
struct FakeType;
static_assertions::assert_impl_all!(FakeType: core::fmt::Display);
/// this type is pretty swell2
#[derive(Display)]
struct FakeType2;
static_assertions::assert_impl_all!(FakeType2: core::fmt::Display);
fn main() {}
+8
View File
@@ -0,0 +1,8 @@
use displaydoc::Display;
/// this type is pretty swell
struct FakeType;
static_assertions::assert_impl_all!(FakeType: core::fmt::Display);
fn main() {}