1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
use rstest::*; #[fixture] pub fn fixture() -> u32 { 42 } #[rstest] fn error_inner(fixture: u32) { let a: u32 = ""; } #[rstest] fn error_cannot_resolve_fixture(no_fixture: u32) { } #[rstest] fn error_fixture_wrong_type(fixture: String) { }