Skip to content

Fix a warning when generating tests #7591

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

Merged
merged 1 commit into from
Jul 8, 2013

Conversation

alexcrichton
Copy link
Member

Closes #7589

@emberian
Copy link
Member

emberian commented Jul 7, 2013

@alexcrichton this failure seems to be legitimate:

error: compilation failed!
command: x86_64-unknown-linux-gnu/stage2/bin/rustc /home/rustbuild/src/rust-buildbot/slave/auto-linux-64-opt-vg/build/src/test/run-pass/test-ignore-cfg.rs -o x86_64-unknown-linux-gnu/test/run-pass/test-ignore-cfg.stage2-x86_64-unknown-linux-gnu -L x86_64-unknown-linux-gnu/test/run-pass -L x86_64-unknown-linux-gnu/test/run-pass/test-ignore-cfg.libaux -O --target=x86_64-unknown-linux-gnu --test --cfg ignorecfg
stdout:
------------------------------------------

------------------------------------------
stderr:
------------------------------------------
/home/rustbuild/src/rust-buildbot/slave/auto-linux-64-opt-vg/build/src/test/run-pass/test-ignore-cfg.rs:29:16: 29:29 error: unresolved name `__test::tests`.
/home/rustbuild/src/rust-buildbot/slave/auto-linux-64-opt-vg/build/src/test/run-pass/test-ignore-cfg.rs:29     let tests = __test::tests;
                                                                                                                           ^~~~~~~~~~~~~
error: aborting due to previous error

------------------------------------------

rust: task failed at 'explicit failure', /home/rustbuild/src/rust-buildbot/slave/auto-linux-64-opt-vg/build/src/compiletest/runtest.rs:722

@alexcrichton
Copy link
Member Author

@cmr thanks for pointing that out! Should be fixed now.

bors added a commit that referenced this pull request Jul 8, 2013
@bors bors closed this Jul 8, 2013
@bors bors merged commit a02e37c into rust-lang:master Jul 8, 2013
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

Successfully merging this pull request may close these issues.

Getting a warning on an empty line after updating to 0.7
4 participants