use tree_type_proc_macro::tree_type;
tree_type! {
TestRoot {
config
}
}
#[test]
fn test_basic_macro_compiles() {
let root = TestRoot::new("/tmp/test");
let config = root.config();
assert_eq!(config.as_path(), std::path::Path::new("/tmp/test/config"));
}