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

Fix compilation error #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Fix compilation error #4

wants to merge 2 commits into from

Conversation

csicar
Copy link

@csicar csicar commented Aug 12, 2021

Running cargo teston the library resulted in compilation errors:

error: proc-macro derive panicked
   --> static_map_macros/tests/tests.rs:11:56
    |
11  |   static CSS_COLORS_STATIC_MAP: Map<&'static str, RGB> = static_map! {
    |  ________________________________________________________^
12  | |     Default: RGB(0x00,0x00,0x00),
13  | |     "black" => RGB(0x00,0x00,0x00),
14  | |     "silver" => RGB(0xc0,0xc0,0xc0),
...   |
160 | |     "rebeccapurple" => RGB(0x66,0x33,0x99),
161 | | };
    | |_^
    |
    = help: message: assertion failed: input.starts_with(LEADING)
    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

This PR fixes them

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 this pull request may close these issues.

1 participant