summaryrefslogtreecommitdiffstats
path: root/src/test/ui/derives/deriving-primitive.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/derives/deriving-primitive.stderr14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/test/ui/derives/deriving-primitive.stderr b/src/test/ui/derives/deriving-primitive.stderr
new file mode 100644
index 000000000..ca64c9ee7
--- /dev/null
+++ b/src/test/ui/derives/deriving-primitive.stderr
@@ -0,0 +1,14 @@
+error: cannot find derive macro `FromPrimitive` in this scope
+ --> $DIR/deriving-primitive.rs:1:10
+ |
+LL | #[derive(FromPrimitive)]
+ | ^^^^^^^^^^^^^
+
+error: cannot find derive macro `FromPrimitive` in this scope
+ --> $DIR/deriving-primitive.rs:1:10
+ |
+LL | #[derive(FromPrimitive)]
+ | ^^^^^^^^^^^^^
+
+error: aborting due to 2 previous errors
+