summaryrefslogtreecommitdiffstats
path: root/tests/ui/derives/derive-deadlock.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/derives/derive-deadlock.rs')
-rw-r--r--tests/ui/derives/derive-deadlock.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/ui/derives/derive-deadlock.rs b/tests/ui/derives/derive-deadlock.rs
new file mode 100644
index 000000000..0137b1e5b
--- /dev/null
+++ b/tests/ui/derives/derive-deadlock.rs
@@ -0,0 +1,6 @@
+use std as derive;
+
+#[derive(Default)] //~ ERROR cannot determine resolution for the attribute macro `derive`
+struct S;
+
+fn main() {}