Skip to content

Commit a95fce8

Browse files
committed
chore: slightly better error message
1 parent 8fdcb3a commit a95fce8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

soa-derive-internal/src/input.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ impl Input {
179179
}
180180

181181
if attr.path().is_ident("soa_crate") {
182-
let args = attr.parse_args::<Path>().expect("expected an attribute like a path");
182+
let args = attr.parse_args::<Path>().expect("expected an attribute like a module path, `#[soa_crate(::path::to::impl_of::soa_derive)]`");
183183
soa_derive_crate = Some(args);
184184
}
185185
}

0 commit comments

Comments
 (0)