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

example does not compile #190

Open
ufobat opened this issue Mar 23, 2018 · 1 comment
Open

example does not compile #190

ufobat opened this issue Mar 23, 2018 · 1 comment

Comments

@ufobat
Copy link

ufobat commented Mar 23, 2018

    Updating registry `https://github.com/rust-lang/crates.io-index`
   Compiling rusttype v0.4.3
   Compiling rayon-core v1.4.0
error[E0507]: cannot move out of captured outer variable in an `FnOnce` closure
   --> /home/martin/.cargo/registry/src/github.com-1ecc6299db9ec823/rusttype-0.4.3/src/lib.rs:314:54
    |
314 |                 .and_then(|offset| tt::FontInfo::new(self.0, offset as usize))
    |                                                      ^^^^ cannot move out of captured outer variable in an `FnOnce` closure

error: aborting due to previous error

error: Could not compile `rusttype`.
warning: build failed, waiting for other jobs to finish...
error: build failed

@HenningTimm
Copy link

I can confirm this. The rusttype dependency of piston2d-graphics fails to build for me.

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

2 participants