Skip to content

example does not compile  #190

@ufobat

Description

@ufobat
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions