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

cargo test --all --all-targets --no-default-features --features serde fails since commit 94ca198b83f036e34650ff82f13b296c7969b9ba #83

Closed
plugwash opened this issue Dec 3, 2022 · 1 comment · Fixed by #84

Comments

@plugwash
Copy link

plugwash commented Dec 3, 2022

After updating unicode-bidi in Debian to version 0.3.8 we noticed that "cargo test --all --all-targets --no-default-features --features serde" now fails with cargo test --all --all-targets --no-default-features --features serde

error[E0599]: no function or associated item named `new` found for struct `BidiInfo` in the current scope 
 --> src/lib.rs:912:35
   |
263 | pub struct BidiInfo<'text> {
      | -------------------------- function or associated item `new` not found for this
    ...
912 |         let bidi_info = BidiInfo::new(text, None);
    |                                   ^^^ function or associated item not found in `BidiInfo<'_>`

I bisected the regression and found it comes from 94ca198, this seems to be an actual regression, not merely a newly added test.

mbrubeck added a commit to mbrubeck/unicode-bidi that referenced this issue Dec 4, 2022
@mbrubeck
Copy link
Contributor

mbrubeck commented Dec 4, 2022

Thanks for the report. Submitted #84 to fix the test build.

The underlying regression of --no-default-features builds was discussed in #78.

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 a pull request may close this issue.

2 participants