summaryrefslogtreecommitdiffstats
path: root/src/test/ui/rfc-2091-track-caller/error-odd-syntax.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/rfc-2091-track-caller/error-odd-syntax.stderr')
-rw-r--r--src/test/ui/rfc-2091-track-caller/error-odd-syntax.stderr8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/ui/rfc-2091-track-caller/error-odd-syntax.stderr b/src/test/ui/rfc-2091-track-caller/error-odd-syntax.stderr
new file mode 100644
index 000000000..e7ddf8df4
--- /dev/null
+++ b/src/test/ui/rfc-2091-track-caller/error-odd-syntax.stderr
@@ -0,0 +1,8 @@
+error: malformed `track_caller` attribute input
+ --> $DIR/error-odd-syntax.rs:1:1
+ |
+LL | #[track_caller(1)]
+ | ^^^^^^^^^^^^^^^^^^ help: must be of the form: `#[track_caller]`
+
+error: aborting due to previous error
+