Xuanwo commented on PR #3933:
URL: 
https://github.com/apache/incubator-opendal/pull/3933#issuecomment-1884534520

   Hi, we need to address this error:
   
   ```rust
   error[E0631]: type mismatch in function arguments
      --> core/src/services/hdfs_native/backend.rs:190:22
       |
   190 |             .map_err(new_std_io_error)?;
       |              ------- ^^^^^^^^^^^^^^^^ expected due to this
       |              |
       |              required by a bound introduced by this call
       |
      ::: core/src/raw/std_io_util.rs:27:1
       |
   27  | pub fn new_std_io_error(err: std::io::Error) -> Error {
       | ----------------------------------------------------- found signature 
defined here
       |
       = note: expected function signature `fn(hdfs_native::HdfsError) -> _`
                  found function signature `fn(std::io::Error) -> _`
   ```
   
   We can implement a `parse_hdfs_error` instead.


-- 
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