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
Adding bytes::Bytes doesn't catch the FP in #5325 (comment):
use http::header::HeaderName;use std::{collections::HashMap, str::FromStr};fnmain(){letmut foo = HashMap::new();
foo.insert(HeaderName::from_str("hi").unwrap(),3);}
I think what's happening is that the check for self.ignore_mut_def_ids.contains is shallow, but ty.is_freeze is deep. But it might be something else as the path from HeaderName -> Bytes is fairly complex: https://docs.rs/http/latest/src/http/header/name.rs.html#33-35