]> git.lizzy.rs Git - rust.git/blob - src/test/ui/on-unimplemented/issue-104140.stderr
Rollup merge of #105674 - estebank:iterator-chains, r=oli-obk
[rust.git] / src / test / ui / on-unimplemented / issue-104140.stderr
1 error: malformed `rustc_on_unimplemented` attribute input
2   --> $DIR/issue-104140.rs:5:1
3    |
4 LL | #[rustc_on_unimplemented]
5    | ^^^^^^^^^^^^^^^^^^^^^^^^^
6    |
7 help: the following are the possible correct uses
8    |
9 LL | #[rustc_on_unimplemented = "message"]
10    | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11 LL | #[rustc_on_unimplemented(/*opt*/ message = "...", /*opt*/ label = "...", /*opt*/ note = "...")]
12    | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
13
14 error: aborting due to previous error
15