Skip to content

Fix compilation error#4

Open
csicar wants to merge 2 commits intocbreeden:masterfrom
csicar:master
Open

Fix compilation error#4
csicar wants to merge 2 commits intocbreeden:masterfrom
csicar:master

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

Comments