It seem that named functions have to be coerced to anonymous ones in order to implement Debug. This means any structs containing functions don't derive Debug, which makes unit testing tricky.Activity durka comm
IDEA shows error hint: Request<HelloRequest> doesn't implement Debug (required by {:?}). However, the struct tonic::Request and HelloRequest (generated by code) has implemented trait Debug. // ::prost::Message pub trait Message: Debug + Send + Sync {...} And these codes can pass ...
cargo:warning=ToolExecError: Command "clang++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-4" "-fno-omit-frame-pointer" "-m64" "--target=x86_64-unknown-linux-gnu" "-I" "/workspaces/test/target/debug/build/usearch-d165d1039b6b3263/out/cxxbridge/include" "-I...
Implement Clone and Debug for MinCostFlowGraph and _Edge 40627db Sign in for the full log view CI on: pull_request Rustfmt (1.70.0-x86_64-unknown-linux-gnu) Rustfmt (stable-x86_64-unknown-linux-gnu) Build (1.70.0-x86_64-pc-windows-msvc) Build (1.70.0-aarch64-apple-...
Implement the Clone and Debug traits for SccGraph. Note that this requires implementing Clone and Debug for internal_scc::SccGraph #147 . The Clone trait can be derived. For the Debug trait, discussion is needed regarding the output format. I think that either of the following approaches ...