#[macro_use] extern crate stacktrace; trace!(); fn layer1() -> Trace { Trace::new("a message".into()) } fn layer2() -> Trace { layer1() } fn layer3() -> Trace { layer2() } fn main() { println!("{:?}", layer3()); }