Skip to content

The image feature no longer compiles in combination with the glow feature #1592

@ben-wallis

Description

@ben-wallis

Is there an existing issue for this?

  • I have searched the existing issues.

Is this issue related to iced?

  • My hardware is compatible and my graphics drivers are up-to-date.

What happened?

This was introduced in #1578

What is the expected behavior?

The crate compiles

Version

master

Operative System

Windows

Do you have any log output?

Compiling iced_glow v0.5.0 (D:\source\rust\iced\glow)
error[E0027]: pattern does not mention field `color`
   --> glow\src\image.rs:195:17
    |
195 |                 layer::Image::Vector { handle: _, bounds } => (None, bounds),
    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing field `color`
    |
help: include the missing field in the pattern
    |
195 |                 layer::Image::Vector { handle: _, bounds, color } => (None, bounds),
    |                                                         ~~~~~~~~~
help: if you don't care about this missing field, you can explicitly ignore it
    |
195 |                 layer::Image::Vector { handle: _, bounds, .. } => (None, bounds),

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions