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

Ignore example in doc test #3

Merged
merged 1 commit into from Jul 11, 2022
Merged

Ignore example in doc test #3

merged 1 commit into from Jul 11, 2022

Conversation

davide125
Copy link
Contributor

cargo test fails with:

   Doc-tests cint

running 1 test
test src/lib.rs - (line 40) ... FAILED

failures:

---- src/lib.rs - (line 40) stdout ----
error[E0433]: failed to resolve: use of undeclared type `ColorCrate2`
 --> src/lib.rs:43:20
  |
6 | let color_crate2 = ColorCrate2::from_cint(color_crate1.into());
  |                    ^^^^^^^^^^^ use of undeclared type `ColorCrate2`

error[E0425]: cannot find value `color_crate2` in this scope
 --> src/lib.rs:41:20
  |
4 | let color_crate1 = color_crate2.into_cint().into();
  |                    ^^^^^^^^^^^^ not found in this scope

error: aborting due to 2 previous errors

Some errors have detailed explanations: E0425, E0433.
For more information about an error, try `rustc --explain E0425`.

Given that it looks like this is just an example, tag it as ignore so it doesn't result in a test failure.

@fu5ha
Copy link
Owner

fu5ha commented Jul 11, 2022

Thanks!

@fu5ha fu5ha merged commit ec9ce31 into fu5ha:main Jul 11, 2022
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.

None yet

2 participants