xref: /tonic/tests/skip_debug/src/lib.rs (revision 2464f080)
1 pub mod pb {
2     tonic::include_proto!("test");
3 
4     // Add a dummy impl Debug to the skipped debug implementations to avoid
5     // missing impl Debug errors and check debug is not implemented for Output.
6     impl std::fmt::Debug for Output {
7         fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
8             f.debug_struct("Output").finish()
9         }
10     }
11 }
12