GPT bug fix

This commit is contained in:
DaZuo0122
2026-01-16 21:40:56 +08:00
parent 04088ceedc
commit d3ce6b0a93
2 changed files with 17 additions and 1 deletions

16
docs/debian_error_msg.txt Normal file
View File

@@ -0,0 +1,16 @@
error[E0308]: mismatched types
--> crates/wtfnet-probe/src/lib.rs:477:32
|
477 | .set_multicast_loop_v6(u32::from(ttl))
| --------------------- ^^^^^^^^^^^^^^ expected `bool`, found `u32`
| |
| arguments to this method are incorrect
|
note: method defined here
--> /home/dazuo/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/sr c/net/udp.rs:527:12
|
527 | pub fn set_multicast_loop_v6(&self, multicast_loop_v6: bool) -> io::Result<()> {
| ^^^^^^^^^^^^^^^^^^^^^
For more information about this error, try `rustc --explain E0308`.
error: could not compile `wtfnet-probe` (lib) due to 1 previous error