summaryrefslogtreecommitdiffstats
path: root/tests/ui/on-unimplemented/issue-104140.stderr
blob: ddb1f50f0bb45c850e49cad57efdf799f3aa0266 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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