We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
//foo.rs mod test; //test.rs #![test]
This will give a
error: functions used as tests must have signature fn() -> (). foo.rs: mod test; ^~~~~~~~~
Which is particularly confusing when the user has already written some test functions in test.rs.