summaryrefslogtreecommitdiffstats
path: root/tests/ui/on-unimplemented/issue-104140.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/on-unimplemented/issue-104140.stderr')
-rw-r--r--tests/ui/on-unimplemented/issue-104140.stderr15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/ui/on-unimplemented/issue-104140.stderr b/tests/ui/on-unimplemented/issue-104140.stderr
new file mode 100644
index 000000000..ddb1f50f0
--- /dev/null
+++ b/tests/ui/on-unimplemented/issue-104140.stderr
@@ -0,0 +1,15 @@
+error: malformed `rustc_on_unimplemented` attribute input
+ --> $DIR/issue-104140.rs:5:1
+ |
+LL | #[rustc_on_unimplemented]
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^
+ |
+help: the following are the possible correct uses
+ |
+LL | #[rustc_on_unimplemented = "message"]
+ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+LL | #[rustc_on_unimplemented(/*opt*/ message = "...", /*opt*/ label = "...", /*opt*/ note = "...")]
+ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+error: aborting due to previous error
+