commure / datatest

Datatest -- data-driven test framework for Rust
Apache License 2.0
53 stars 15 forks source link

Compile error: no field `filter` on type `&mut TestOpts` #33

Closed mverleg closed 3 years ago

mverleg commented 3 years ago

When compiling version 0.6.3 of datatest with 1.53.0-nightly, I get this error:

error[E0609]: no field `filter` on type `&mut TestOpts`
   --> /home/mark/.cargo/registry/src/github.com-1ecc6299db9ec823/datatest-0.6.3/src/runner.rs:260:14
    |
260 |         opts.filter = Some(format!("{}::", real_test_name));
    |              ^^^^^^ help: a field with a similar name exists: `filters`

Probably due to this change in Rust from 2 months ago: https://github.com/rust-lang/rust/commit/30891b84ff3886e076c2fa0a8886ad631196db9a

mverleg commented 3 years ago

Ow this is already addressed in PR #30