1error[E0308]: mismatched types
2  --> tests/compile-fail/attrs_with_bad_fn.rs:11:22
3   |
411 |     #[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>`
12note: method defined here
13  --> core/src/error/mod.rs
14   |
15   |     pub fn handle<T>(&mut self, result: Result<T>) -> Option<T> {
16   |            ^^^^^^
17help: try wrapping the expression in `Ok`
18   |
1911 |     #[darling(with = Ok(bad_converter))]
20   |                      +++             +
21