-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Hello, thank you for the great library! I'm finding it very useful.
A small thing I ran into, there can be no trailing comma on the last member:
members {
process: Option<Child>,
mount_dir: Option<PathBuf>,
real_dir: Option<PathBuf>,
}With the trailing comma I get the error:
error: expected one of `!` or `::`, found `detfs_setup`
--> tests/detfs_tests.rs:16:13
|
16 | fixture detfs_setup(dir: String) -> PathBuf {
| ^^^^^^^^^^^ expected one of `!` or `::` here
error: aborting due to previous error
error: Could not compile `detfs`.
Getting rid of the comma fixes it, but the error does not make it obvious.
erayerdin
Metadata
Metadata
Assignees
Labels
No labels