Skip to content
New issue

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

Compilation error (missing test_type) on latest nightlies #18

Closed
cormacrelf opened this issue Oct 18, 2019 · 1 comment
Closed

Compilation error (missing test_type) on latest nightlies #18

cormacrelf opened this issue Oct 18, 2019 · 1 comment

Comments

@cormacrelf
Copy link
Contributor

As a result of rust-lang/rust#64873, merged 6 days ago, rustc_test::TestDesc now needs a test_type field. I'm guessing that will be TestType:: IntegrationTest.

error[E0063]: missing field `test_type` in initializer of `rustc_test::TestDesc`
   --> /Users/.../.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/datatest-0.5.2/src/runner.rs:171:23
    |
171 |                 desc: TestDesc {
    |                       ^^^^^^^^ missing `test_type`

I don't know how this will interact with the whole 'working on stable Rust' goal.

@idubrov
Copy link
Contributor

idubrov commented Oct 18, 2019

Yeah, it will likely break on next stable, too. The whole "stable" story for datatest is a complete lie at this point.

I was hoping for rust-lang/rust#50297 to make progress, but not clear what's happening there so far.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants