nsuke commented on PR #2870:
URL: https://github.com/apache/thrift/pull/2870#issuecomment-1762928737

   rs/test requires a bit of modification as well (`kitchen-sink` is 
`thrift/lib/rs/test`'s package name)
   ```
       Checking kitchen-sink v0.1.0 
(/home/runner/work/thrift/thrift/lib/rs/test)
   error: deref on an immutable reference
     --> src/bin/kitchen_sink_server.rs:96:15
      |
   96 |     ) = match &*protocol {
      |               ^^^^^^^^^^ help: if you would like to reborrow, try 
removing `&*`: `protocol`
      |
      = note: `-D clippy::borrow-deref-ref` implied by `-D warnings`
      = help: for further information visit 
https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref
   
   error: deref on an immutable reference
      --> src/bin/kitchen_sink_server.rs:120:11
       |
   120 |     match &*service {
       |           ^^^^^^^^^ help: if you would like to reborrow, try removing 
`&*`: `service`
       |
       = help: for further information visit 
https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref
   
   error: could not compile `kitchen-sink` due to 2 previous errors
   ```


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