I found a bug with cargo doc
and the new bounds in associated type position feature.
I'm not sure in which repository I should report this.
When a crate defines a function or a trait that use bounds in associated type position and this method or trait is re-export in another crate, the return type in the doc is not right.
// In crate A
pub fn debug_iter() -> impl Iterator<Item: core::fmt::Debug> {
core::iter::empty::<u8>()
}
// In crate B
pub use A::debug_iter;
// cargo doc -p A
pub fn debug_iter() -> impl Iterator<Item: Debug>
// cargo doc -p B
pub fn debug_iter() -> impl Iterator + Debug