diff --git a/lang/syn/src/idl/common.rs b/lang/syn/src/idl/common.rs index c8e95059a0..e64da61bbe 100644 --- a/lang/syn/src/idl/common.rs +++ b/lang/syn/src/idl/common.rs @@ -13,7 +13,7 @@ pub fn find_path(name: &str, path: impl AsRef) -> Result { } } - Err(anyhow!("Path ({path:?}) not found")) + Err(anyhow!("Path ({:?}) not found", path)) } pub fn get_no_docs() -> bool {