Debian Codegraph @

.cargo/vendor/thiserror/tests/ui/duplicate-fmt.stderr

raw
1 error: only one #[error(...)] attribute is allowed
2 --> tests/ui/duplicate-fmt.rs:5:1
3 |
4 5 | #[error("...")]
5 | ^^^^^^^^^^^^^^^
6
7 error: duplicate #[error(fmt = ...)] attribute
8 --> tests/ui/duplicate-fmt.rs:10:1
9 |
10 10 | #[error(fmt = core::fmt::LowerHex::fmt)]
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12
13 error: cannot have both #[error(transparent)] and #[error(fmt = ...)]
14 --> tests/ui/duplicate-fmt.rs:14:1
15 |
16 14 | #[error(fmt = core::fmt::Octal::fmt)]
17 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
18
19 error: cannot have both #[error(fmt = ...)] and a format arguments attribute
20 --> tests/ui/duplicate-fmt.rs:20:1
21 |
22 20 | #[error("...")]
23 | ^^^^^^^^^^^^^^^