about summary refs log tree commit diff
path: root/tests/ui/issues/issue-49934-errors.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/issues/issue-49934-errors.stderr')
-rw-r--r--tests/ui/issues/issue-49934-errors.stderr14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/ui/issues/issue-49934-errors.stderr b/tests/ui/issues/issue-49934-errors.stderr
new file mode 100644
index 00000000000..8c4c54170a1
--- /dev/null
+++ b/tests/ui/issues/issue-49934-errors.stderr
@@ -0,0 +1,14 @@
+error: expected non-macro attribute, found attribute macro `derive`
+  --> $DIR/issue-49934-errors.rs:1:10
+   |
+LL | fn foo<#[derive(Debug)] T>() {
+   |          ^^^^^^ not a non-macro attribute
+
+error: expected non-macro attribute, found attribute macro `derive`
+  --> $DIR/issue-49934-errors.rs:3:11
+   |
+LL |         #[derive(Debug)]
+   |           ^^^^^^ not a non-macro attribute
+
+error: aborting due to 2 previous errors
+