blob: ecdca8c21138214b5683382e8803a75c7c7d955c [file]
//@ check-pass
#![deny(missing_debug_implementations)]
pub struct Local;
impl std::fmt::Debug for <Local as Identity>::Output {
fn fmt(&self, _: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { Ok(()) }
}
pub trait Identity { type Output; }
impl<T> Identity for T { type Output = T; }
pub struct Generic<T>(T);
impl std::fmt::Debug for <Generic<i32> as Identity>::Output {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { Ok(()) }
}
fn main() {}