Skip to content
Discussion options

You must be logged in to vote

Hi @LinTechSo,

Is the full error the following:

error[E0271]: type mismatch resolving `<Vec<Box<dyn Function>> as IntoIterator>::Item == Box<dyn Function>`
   --> src/main.rs:15:16
    |
15  |     fns.extend(vector_vrl_functions::all());
    |         ------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected trait `Function`, found trait `vrl::compiler::function::Function`
    |         |
    |         required by a bound introduced by this call
    |
    = note: expected struct `Box<dyn Function>`
               found struct `Box<dyn vrl::compiler::function::Function>`
    = note: perhaps two different versions of crate `vrl` are being used?
note: required by a bound in `extend`
   --> /Users/pavlos.r…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@LinTechSo
Comment options

Answer selected by pront
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants