diff options
Diffstat (limited to 'ui-tests/src')
-rw-r--r-- | ui-tests/src/bin/attr_blanket_impl_attr.rs | 5 | ||||
-rw-r--r-- | ui-tests/src/bin/attr_blanket_impl_attr.stderr | 5 | ||||
-rw-r--r-- | ui-tests/src/bin/attr_dyn_trait_attr.rs | 5 | ||||
-rw-r--r-- | ui-tests/src/bin/attr_dyn_trait_attr.stderr | 5 |
4 files changed, 20 insertions, 0 deletions
diff --git a/ui-tests/src/bin/attr_blanket_impl_attr.rs b/ui-tests/src/bin/attr_blanket_impl_attr.rs new file mode 100644 index 0000000..c6b48eb --- /dev/null +++ b/ui-tests/src/bin/attr_blanket_impl_attr.rs @@ -0,0 +1,5 @@ +#[dynamize::dynamize] +#[blanket_impl_attr = async_trait] +trait Trait {} + +fn main() {} diff --git a/ui-tests/src/bin/attr_blanket_impl_attr.stderr b/ui-tests/src/bin/attr_blanket_impl_attr.stderr new file mode 100644 index 0000000..8d81d81 --- /dev/null +++ b/ui-tests/src/bin/attr_blanket_impl_attr.stderr @@ -0,0 +1,5 @@ +error: expected parenthesis: #[blanket_impl_attr(...)] + --> src/bin/attr_blanket_impl_attr.rs:2:21 + | +2 | #[blanket_impl_attr = async_trait] + | ^ diff --git a/ui-tests/src/bin/attr_dyn_trait_attr.rs b/ui-tests/src/bin/attr_dyn_trait_attr.rs new file mode 100644 index 0000000..f207ba8 --- /dev/null +++ b/ui-tests/src/bin/attr_dyn_trait_attr.rs @@ -0,0 +1,5 @@ +#[dynamize::dynamize] +#[dyn_trait_attr = async_trait] +trait Trait {} + +fn main() {} diff --git a/ui-tests/src/bin/attr_dyn_trait_attr.stderr b/ui-tests/src/bin/attr_dyn_trait_attr.stderr new file mode 100644 index 0000000..9a428d9 --- /dev/null +++ b/ui-tests/src/bin/attr_dyn_trait_attr.stderr @@ -0,0 +1,5 @@ +error: expected parenthesis: #[dyn_trait_attr(...)] + --> src/bin/attr_dyn_trait_attr.rs:2:18 + | +2 | #[dyn_trait_attr = async_trait] + | ^ |