about summary refs log tree commit diff
path: root/tests/ui/macros/issue-112342-2.stderr
diff options
context:
space:
mode:
authorbohan <bohan-zhang@foxmail.com>2023-06-07 00:26:16 +0800
committerbohan <bohan-zhang@foxmail.com>2023-06-07 10:20:36 +0800
commit5eafab30ba0721451f5114c5b27b37870bb3955a (patch)
tree2131c1f71121cdace463a29d03ee7697c13a3964 /tests/ui/macros/issue-112342-2.stderr
parentc927743b7b7bd382836dcce2d1140a7e829dc3d0 (diff)
downloadrust-5eafab30ba0721451f5114c5b27b37870bb3955a.tar.gz
rust-5eafab30ba0721451f5114c5b27b37870bb3955a.zip
feat(expand): emit note for doc comment in macro matcher
Diffstat (limited to 'tests/ui/macros/issue-112342-2.stderr')
-rw-r--r--tests/ui/macros/issue-112342-2.stderr24
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/ui/macros/issue-112342-2.stderr b/tests/ui/macros/issue-112342-2.stderr
new file mode 100644
index 00000000000..8c1b6f9471b
--- /dev/null
+++ b/tests/ui/macros/issue-112342-2.stderr
@@ -0,0 +1,24 @@
+note: doc comments are ignored in matcher position
+  --> $DIR/issue-112342-2.rs:8:13
+   |
+LL |             ///
+   |             ^^^
+
+note: doc comments are ignored in matcher position
+  --> $DIR/issue-112342-2.rs:19:13
+   |
+LL |             ///
+   |             ^^^
+
+note: doc comments are ignored in matcher position
+  --> $DIR/issue-112342-2.rs:21:13
+   |
+LL |             ///
+   |             ^^^
+
+note: doc comments are ignored in matcher position
+  --> $DIR/issue-112342-2.rs:31:13
+   |
+LL |             ///
+   |             ^^^
+