Debian Codegraph @

third_party/rust/darling/tests/compile-fail/attrs_with_bad_fn.stderr

raw
1 error[E0308]: mismatched types
2 --> tests/compile-fail/attrs_with_bad_fn.rs:11:22
3 |
4 11 | #[darling(with = bad_converter)]
5 | ^^^^^^^^^^^^^
6 | |
7 | expected `Result<_, Error>`, found `Vec<Attribute>`
8 | arguments to this method are incorrect
9 |
10 = note: expected enum `Result<_, darling::Error>`
11 found struct `Vec<Attribute>`
12 note: method defined here
13 --> core/src/error/mod.rs
14 |
15 | pub fn handle<T>(&mut self, result: Result<T>) -> Option<T> {
16 | ^^^^^^
17 help: try wrapping the expression in `Ok`
18 |
19 11 | #[darling(with = Ok(bad_converter))]
20 | +++ +