#![allow(dead_code, deprecated, unused_variables, unused_mut)] use std::fmt; struct Point { x: i32, y: i32, } impl fmt::Debug for Point { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { write!(f, "Point [{} {}]", self.x, self.y) } } fn main() {}