Closed lxl66566 closed 5 days ago
reproduce: cargo test -p curp --doc
cargo test -p curp --doc
0.6.1 (Default)
running 1 test test crates/curp/src/server/raw_curp/log.rs - server::raw_curp::log::Log (line 86) ... FAILED failures: ---- crates/curp/src/server/raw_curp/log.rs - server::raw_curp::log::Log (line 86) stdout ---- error: unknown start of token: \u{2191} --> crates/curp/src/server/raw_curp/log.rs:87:1 | 3 | ↑ | ^ error: unknown start of token: ` --> crates/curp/src/server/raw_curp/log.rs:88:19 | 4 | `first_idx_in_cur_batch` | ^ | help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not | 4 | 'first_idx_in_cur_batch` | ~ error: unknown start of token: ` --> crates/curp/src/server/raw_curp/log.rs:88:42 | 4 | `first_idx_in_cur_batch` | ^ | help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not | 4 | `first_idx_in_cur_batch' | ~ error[E0425]: cannot find value `first_idx_in_cur_batch` in this scope --> crates/curp/src/server/raw_curp/log.rs:88:20 | 4 | `first_idx_in_cur_batch` | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error: aborting due to 4 previous errors For more information about this error, try `rustc --explain E0425`. Couldn't compile the test. failures: crates/curp/src/server/raw_curp/log.rs - server::raw_curp::log::Log (line 86) test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s error: doctest failed, to rerun pass `-p curp --doc`
👋 Thanks for opening this issue!
Reply with the following command on its own line to get help or engage:
/contributing-agreement
/assignme
Description about the bug
reproduce:
cargo test -p curp --doc
Version
0.6.1 (Default)
Relevant log output
Code of Conduct