praetp commented on pull request #1396:
URL: https://github.com/apache/avro/pull/1396#issuecomment-1015832184


   I am interested in this change.
   
   Didn't compile for me. Maybe I did something wrong ?
   ```
   error[E0061]: this enum variant takes 2 arguments but 1 argument was supplied
      --> 
/home/spetsnaz/.cargo/git/checkouts/avro-d44366ca41b07ddf/912e979/lang/rust/src/decode.rs:209:20
       |
   209 |                 Ok(Value::Union(Box::new(value)))
       |                    ^^^^^^^^^^^^ --------------- supplied 1 argument
       |                    |
       |                    expected 2 arguments
       |
   note: tuple variant defined here
      --> 
/home/spetsnaz/.cargo/git/checkouts/avro-d44366ca41b07ddf/912e979/lang/rust/src/types.rs:74:5
       |
   74  |     Union(i32, Box<Value>),
       |     ^^^^^
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to