summaryrefslogtreecommitdiffstats
path: root/src/test/ui/derives/deriving-meta-unknown-trait.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/derives/deriving-meta-unknown-trait.rs')
-rw-r--r--src/test/ui/derives/deriving-meta-unknown-trait.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/ui/derives/deriving-meta-unknown-trait.rs b/src/test/ui/derives/deriving-meta-unknown-trait.rs
new file mode 100644
index 000000000..6463a7664
--- /dev/null
+++ b/src/test/ui/derives/deriving-meta-unknown-trait.rs
@@ -0,0 +1,6 @@
+#[derive(Eqr)]
+//~^ ERROR cannot find derive macro `Eqr` in this scope
+//~| ERROR cannot find derive macro `Eqr` in this scope
+struct Foo;
+
+pub fn main() {}