Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Compiling icy_term v0.3.1 (/home/ryan/Development/icy_term)
- warning: crate-level attribute should be in the root module
- --> src/ui/main_window.rs:1:36
- |
- 1 | #![cfg_attr(not(debug_assertions), windows_subsystem = "windows")] // hide console window on Windows in release
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- |
- = note: `#[warn(unused_attributes)]` on by default
- error[E0004]: non-exhaustive patterns: `CallbackAction::Beep` not covered
- --> src/ui/main_window.rs:247:15
- |
- 247 | match result {
- | ^^^^^^ pattern `CallbackAction::Beep` not covered
- |
- note: `CallbackAction` defined here
- --> /home/ryan/.cargo/git/checkouts/icy_engine-85605a82eca5e29d/6547f64/src/parser/mod.rs:67:5
- |
- 65 | pub enum CallbackAction {
- | -----------------------
- 66 | None,
- 67 | Beep,
- | ^^^^ not covered
- = note: the matched value is of type `CallbackAction`
- help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
- |
- 255 ~ icy_engine::CallbackAction::PlayMusic(_music) => { /* play_music(music)*/ }
- 256 + CallbackAction::Beep => todo!()
- |
- error[E0004]: non-exhaustive patterns: `CallbackAction::Beep` not covered
- --> src/ui/main_window.rs:415:27
- |
- 415 | match result {
- | ^^^^^^ pattern `CallbackAction::Beep` not covered
- |
- note: `CallbackAction` defined here
- --> /home/ryan/.cargo/git/checkouts/icy_engine-85605a82eca5e29d/6547f64/src/parser/mod.rs:67:5
- |
- 65 | pub enum CallbackAction {
- | -----------------------
- 66 | None,
- 67 | Beep,
- | ^^^^ not covered
- = note: the matched value is of type `CallbackAction`
- help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
- |
- 420 ~ icy_engine::CallbackAction::PlayMusic(_music) => { /* play_music(music)*/ }
- 421 + CallbackAction::Beep => todo!()
- |
- For more information about this error, try `rustc --explain E0004`.
- warning: `icy_term` (bin "icy_term") generated 1 warning
- error: could not compile `icy_term` due to 2 previous errors; 1 warning emitted
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement