You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note this code is currently broken work in progress, a total mess 😁
The ICE goes away if I tweak the #[macro_use] a bit,
diff --git src/dnsname/temp.rs src/dnsname/temp.rs
index a223c74..1a39518 100644
--- src/dnsname/temp.rs
+++ src/dnsname/temp.rs
@@ -4,7 +4,6 @@
//! This kind of name is decompressed and canonicalized to lower case.
//! The name and label pointers are stored in its workpad.
-#[macro_use]
use super::*;
use core::convert::TryInto;
@@ -64,6 +63,7 @@ impl<'n> std::fmt::Display for TempName {
#[cfg(test)]
mod test {
+ #[macro_use]
use super::*;
#[test]
I am trying to run clippy on this code: https://github.com/fanf2/dnstrie/tree/clippy-ice
I am using: clippy 0.1.52 (9bc8c42b 2021-05-09) on macOS
Output from
RUST_BACKTRACE=1 cargo clippy
:The text was updated successfully, but these errors were encountered: