Skip to content

Instantly share code, notes, and snippets.

@jcrossley3
Created November 24, 2021 14:44
Show Gist options
  • Save jcrossley3/f4169c76834c3c2f25c005a9165395cd to your computer and use it in GitHub Desktop.
Save jcrossley3/f4169c76834c3c2f25c005a9165395cd to your computer and use it in GitHub Desktop.
error: variant is never constructed: `C`
--> jukebox/src/speaker.rs:17:5
|
17 | C = 261,
| ^^^^^^^
|
= note: `-D dead-code` implied by `-D warnings`
error: variant is never constructed: `D`
--> jukebox/src/speaker.rs:18:5
|
18 | D = 293,
| ^^^^^^^
error: variant is never constructed: `F`
--> jukebox/src/speaker.rs:20:5
|
20 | F = 349,
| ^^^^^^^
error: variant is never constructed: `B`
--> jukebox/src/speaker.rs:24:5
|
24 | B = 493,
| ^^^^^^^
error: variant is never constructed: `C2`
--> jukebox/src/speaker.rs:25:5
|
25 | C2 = 523,
| ^^^^^^^^
error: could not compile `microbit-disco` due to 5 previous errors
warning: build failed, waiting for other jobs to finish...
error: build failed
Error: command `cargo check` failed, exit status: 101
Compilation exited abnormally with code 1 at Wed Nov 24 09:36:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment