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

Warnings when compiling for stable #137

Closed
dtolnay opened this issue Oct 28, 2018 · 0 comments
Closed

Warnings when compiling for stable #137

dtolnay opened this issue Oct 28, 2018 · 0 comments

Comments

@dtolnay
Copy link
Contributor

dtolnay commented Oct 28, 2018

$ cargo check --features stable
   Compiling compiletest_rs v0.3.15
warning: method is never used: `print_source`
   --> src/runtest.rs:349:5
    |
349 |     fn print_source(&self, src: String, pretty_type: &str) -> ProcRes {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: #[warn(dead_code)] on by default

warning: method is never used: `compare_source`
   --> src/runtest.rs:367:5
    |
367 | /     fn compare_source(&self,
368 | |                       expected: &str,
369 | |                       actual: &str) {
370 | |         if expected != actual {
...   |
384 | |         }
385 | |     }
    | |_____^

warning: method is never used: `typecheck_source`
   --> src/runtest.rs:387:5
    |
387 |     fn typecheck_source(&self, src: String) -> ProcRes {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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

1 participant