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

Cannot find type _Pred in this scope #571

Closed
StewartCanva opened this issue Oct 19, 2021 · 2 comments · Fixed by #573
Closed

Cannot find type _Pred in this scope #571

StewartCanva opened this issue Oct 19, 2021 · 2 comments · Fixed by #573
Assignees
Labels
bug Something isn't working build Related to building this repository.

Comments

@StewartCanva
Copy link
Contributor

Hey there.

Currently trying to build out what's on master. Using a brew installed version of llvm for it with all the path variables set. Having a bit of trouble getting the bindings to build though. Full error log is

error[E0412]: cannot find type `_Pred` in this scope
   --> skia-bindings/src/bindings.rs:168:25
    |
167 | pub struct std_tuple__EnableUTypesCtor {
    |                                       - help: you might be missing a type parameter: `<_Pred>`
168 |     pub _base: std__And<_Pred>,
    |                         ^^^^^ not found in this scope

error[E0412]: cannot find type `_Pred` in this scope
   --> skia-bindings/src/bindings.rs:168:25
    |
168 |     pub _base: std__And<_Pred>,
    |                         ^^^^^ not found in this scope

error[E0412]: cannot find type `_Pred` in this scope
   --> skia-bindings/src/bindings.rs:173:25
    |
172 | pub struct std_tuple__EnableCopyFromOtherTuple {
    |                                               - help: you might be missing a type parameter: `<_Pred>`
173 |     pub _base: std__And<_Pred>,
    |                         ^^^^^ not found in this scope

error[E0412]: cannot find type `_Pred` in this scope
   --> skia-bindings/src/bindings.rs:173:25
    |
173 |     pub _base: std__And<_Pred>,
    |                         ^^^^^ not found in this scope

error[E0412]: cannot find type `_Pred` in this scope
   --> skia-bindings/src/bindings.rs:178:25
    |
177 | pub struct std_tuple__EnableMoveFromOtherTuple {
    |                                               - help: you might be missing a type parameter: `<_Pred>`
178 |     pub _base: std__And<_Pred>,
    |                         ^^^^^ not found in this scope

error[E0412]: cannot find type `_Pred` in this scope
   --> skia-bindings/src/bindings.rs:178:25
    |
178 |     pub _base: std__And<_Pred>,
    |                         ^^^^^ not found in this scope

error[E0412]: cannot find type `_Pred` in this scope
   --> skia-bindings/src/bindings.rs:183:25
    |
182 | pub struct std_tuple__EnableImplicitCopyFromPair {
    |                                                 - help: you might be missing a type parameter: `<_Pred>`
183 |     pub _base: std__And<_Pred>,
    |                         ^^^^^ not found in this scope

error[E0412]: cannot find type `_Pred` in this scope
   --> skia-bindings/src/bindings.rs:183:25
    |
183 |     pub _base: std__And<_Pred>,
    |                         ^^^^^ not found in this scope

error[E0412]: cannot find type `_Pred` in this scope
   --> skia-bindings/src/bindings.rs:188:25
    |
187 | pub struct std_tuple__EnableExplicitCopyFromPair {
    |                                                 - help: you might be missing a type parameter: `<_Pred>`
188 |     pub _base: std__And<_Pred>,
    |                         ^^^^^ not found in this scope

error[E0412]: cannot find type `_Pred` in this scope
   --> skia-bindings/src/bindings.rs:188:25
    |
188 |     pub _base: std__And<_Pred>,
    |                         ^^^^^ not found in this scope

error[E0412]: cannot find type `_Pred` in this scope
   --> skia-bindings/src/bindings.rs:193:25
    |
192 | pub struct std_tuple__EnableImplicitMoveFromPair {
    |                                                 - help: you might be missing a type parameter: `<_Pred>`
193 |     pub _base: std__And<_Pred>,
    |                         ^^^^^ not found in this scope

error[E0412]: cannot find type `_Pred` in this scope
   --> skia-bindings/src/bindings.rs:193:25
    |
193 |     pub _base: std__And<_Pred>,
    |                         ^^^^^ not found in this scope

error[E0412]: cannot find type `_Pred` in this scope
   --> skia-bindings/src/bindings.rs:198:25
    |
197 | pub struct std_tuple__EnableExplicitMoveFromPair {
    |                                                 - help: you might be missing a type parameter: `<_Pred>`
198 |     pub _base: std__And<_Pred>,
    |                         ^^^^^ not found in this scope

error[E0412]: cannot find type `_Pred` in this scope
   --> skia-bindings/src/bindings.rs:198:25
    |
198 |     pub _base: std__And<_Pred>,
    |                         ^^^^^ not found in this scope

For more information about this error, try `rustc --explain E0412`.

Wondering if someone's hit this before. I've tried looking through the repo for any definition to _Pred but have not been able to find any.

@pragmatrix
Copy link
Member

Thank you, I can reproduce the exact some build errors with Homebrew LLVM 13.0.0 on macOS.

@pragmatrix pragmatrix added bug Something isn't working build Related to building this repository. labels Oct 19, 2021
@pragmatrix pragmatrix self-assigned this Oct 19, 2021
@pragmatrix
Copy link
Member

pragmatrix commented Oct 19, 2021

The current master should build now. I will add a supplemental build soon to prevent Homebrew LLVM related build errors in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working build Related to building this repository.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants