We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#[test]
Good rust projects have test suites, and it would be nice to be able to check assertions in test suites using creusot.
cargo creusot -- --tests on a random project fails with:
cargo creusot -- --tests
thread 'rustc' panicked at creusot/src/backend/ty_inv.rs:69:18: not implemented: dyn [Binder { value: Trait(std::ops::Fn<(&mut test::Bencher,)>), bound_vars: [Region(BrNamed(DefId(26:1712 ~ test[7e83]::types::TestFn::'_#3), '_))] }, Binder { value: Projection(Output = std::result::Result<(), std::string::String>), bound_vars: [Region(BrNamed(DefId(26:1712 ~ test[7e83]::types::TestFn::'_#3), '_))] }, Binder { value: AutoTrait(DefId(2:32809 ~ core[98a5]::marker::Send)), bound_vars: [] }] + 'static
Those dyn seem to come from test::TestFn.
dyn
test::TestFn
Maybe we can just tell creusot to ignore the generated test wrappers when --test is on.
--test
The text was updated successfully, but these errors were encountered:
new
No branches or pull requests
Good rust projects have test suites, and it would be nice to be able to check assertions in test suites using creusot.
cargo creusot -- --tests
on a random project fails with:Those
dyn
seem to come fromtest::TestFn
.Maybe we can just tell creusot to ignore the generated test wrappers when
--test
is on.The text was updated successfully, but these errors were encountered: