Bump gilrs from 0.10.10 to 0.11.0 #348
Annotations
7 errors
clippy_check:
game/src/button_codes.rs#L79
[clippy] reported by reviewdog 🐶
error[E0639]: cannot create non-exhaustive struct using struct expression
--> game/src/button_codes.rs:79:79
|
79 | ... self.button_map.get(&code.into_u32()).map(|b| Event {
| _____________________________________________________________________^
80 | | ... id: ev.id,
81 | | ... event: gilrs::EventType::ButtonPressed(*b, code),
82 | | ... time: ev.time,
83 | | ... })
| |_______________________^
Raw Output:
game/src/button_codes.rs:79:79:e:error[E0639]: cannot create non-exhaustive struct using struct expression
--> game/src/button_codes.rs:79:79
|
79 | ... self.button_map.get(&code.into_u32()).map(|b| Event {
| _____________________________________________________________________^
80 | | ... id: ev.id,
81 | | ... event: gilrs::EventType::ButtonPressed(*b, code),
82 | | ... time: ev.time,
83 | | ... })
| |_______________________^
__END__
|
clippy_check:
game/src/button_codes.rs#L86
[clippy] reported by reviewdog 🐶
error[E0639]: cannot create non-exhaustive struct using struct expression
--> game/src/button_codes.rs:86:79
|
86 | ... self.button_map.get(&code.into_u32()).map(|b| Event {
| _____________________________________________________________________^
87 | | ... id: ev.id,
88 | | ... event: gilrs::EventType::ButtonRepeated(*b, code),
89 | | ... time: ev.time,
90 | | ... })
| |_______________________^
Raw Output:
game/src/button_codes.rs:86:79:e:error[E0639]: cannot create non-exhaustive struct using struct expression
--> game/src/button_codes.rs:86:79
|
86 | ... self.button_map.get(&code.into_u32()).map(|b| Event {
| _____________________________________________________________________^
87 | | ... id: ev.id,
88 | | ... event: gilrs::EventType::ButtonRepeated(*b, code),
89 | | ... time: ev.time,
90 | | ... })
| |_______________________^
__END__
|
clippy_check:
game/src/button_codes.rs#L93
[clippy] reported by reviewdog 🐶
error[E0639]: cannot create non-exhaustive struct using struct expression
--> game/src/button_codes.rs:93:79
|
93 | ... self.button_map.get(&code.into_u32()).map(|b| Event {
| _____________________________________________________________________^
94 | | ... id: ev.id,
95 | | ... event: gilrs::EventType::ButtonReleased(*b, code),
96 | | ... time: ev.time,
97 | | ... })
| |_______________________^
Raw Output:
game/src/button_codes.rs:93:79:e:error[E0639]: cannot create non-exhaustive struct using struct expression
--> game/src/button_codes.rs:93:79
|
93 | ... self.button_map.get(&code.into_u32()).map(|b| Event {
| _____________________________________________________________________^
94 | | ... id: ev.id,
95 | | ... event: gilrs::EventType::ButtonReleased(*b, code),
96 | | ... time: ev.time,
97 | | ... })
| |_______________________^
__END__
|
clippy_check:
game/src/button_codes.rs#L100
[clippy] reported by reviewdog 🐶
error[E0639]: cannot create non-exhaustive struct using struct expression
--> game/src/button_codes.rs:100:79
|
100 | ... self.button_map.get(&code.into_u32()).map(|b| Event {
| _____________________________________________________________________^
101 | | ... id: ev.id,
102 | | ... event: gilrs::EventType::ButtonChanged(*b, v, code),
103 | | ... time: ev.time,
104 | | ... })
| |_______________________^
Raw Output:
game/src/button_codes.rs:100:79:e:error[E0639]: cannot create non-exhaustive struct using struct expression
--> game/src/button_codes.rs:100:79
|
100 | ... self.button_map.get(&code.into_u32()).map(|b| Event {
| _____________________________________________________________________^
101 | | ... id: ev.id,
102 | | ... event: gilrs::EventType::ButtonChanged(*b, v, code),
103 | | ... time: ev.time,
104 | | ... })
| |_______________________^
__END__
|
clippy_check:
game/src/button_codes.rs#L109
[clippy] reported by reviewdog 🐶
error[E0639]: cannot create non-exhaustive struct using struct expression
--> game/src/button_codes.rs:109:53
|
109 | ... .map(|(axis, sens)| Event {
| ___________________________________________^
110 | | ... id: ev.id,
111 | | ... event: gilrs::EventType::AxisChanged(*axis, *sens * v, code),
112 | | ... time: ev.time,
113 | | ... }),
| |_______________________^
Raw Output:
game/src/button_codes.rs:109:53:e:error[E0639]: cannot create non-exhaustive struct using struct expression
--> game/src/button_codes.rs:109:53
|
109 | ... .map(|(axis, sens)| Event {
| ___________________________________________^
110 | | ... id: ev.id,
111 | | ... event: gilrs::EventType::AxisChanged(*axis, *sens * v, code),
112 | | ... time: ev.time,
113 | | ... }),
| |_______________________^
__END__
|
clippy_check:
game/src/button_codes.rs#L135
[clippy] reported by reviewdog 🐶
error[E0004]: non-exhaustive patterns: `&mut _` not covered
--> game/src/button_codes.rs:135:27
|
135 | match &mut ev.event {
| ^^^^^^^^^^^^^ pattern `&mut _` not covered
|
note: `gilrs::EventType` defined here
--> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/gilrs-0.11.0/src/ev/mod.rs:88:1
|
88 | pub enum EventType {
| ^^^^^^^^^^^^^^^^^^
= note: the matched value is of type `&mut gilrs::EventType`
= note: `gilrs::EventType` is marked as non-exhaustive, so a wildcard `_` is necessary to match exhaustively
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
|
157 ~ gilrs::EventType::Dropped => {},
158 + &mut _ => todo!()
|
Raw Output:
game/src/button_codes.rs:135:27:e:error[E0004]: non-exhaustive patterns: `&mut _` not covered
--> game/src/button_codes.rs:135:27
|
135 | match &mut ev.event {
| ^^^^^^^^^^^^^ pattern `&mut _` not covered
|
note: `gilrs::EventType` defined here
--> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/gilrs-0.11.0/src/ev/mod.rs:88:1
|
88 | pub enum EventType {
| ^^^^^^^^^^^^^^^^^^
= note: the matched value is of type `&mut gilrs::EventType`
= note: `gilrs::EventType` is marked as non-exhaustive, so a wildcard `_` is necessary to match exhaustively
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
|
157 ~ gilrs::EventType::Dropped => {},
158 + &mut _ => todo!()
|
__END__
|
clippy_check:
game/src/main.rs#L883
[clippy] reported by reviewdog 🐶
error[E0004]: non-exhaustive patterns: `_` not covered
--> game/src/main.rs:883:34
|
883 | let sent = match e.event {
| ^^^^^^^ pattern `_` not covered
|
note: `gilrs::EventType` defined here
--> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/gilrs-0.11.0/src/ev/mod.rs:88:1
|
88 | pub enum EventType {
| ^^^^^^^^^^^^^^^^^^
= note: the matched value is of type `gilrs::EventType`
= note: `gilrs::EventType` is marked as non-exhaustive, so a wildcard `_` is necessary to match exhaustively
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
|
908 ~ EventType::Dropped => None,
909 ~ _ => todo!(),
|
Raw Output:
game/src/main.rs:883:34:e:error[E0004]: non-exhaustive patterns: `_` not covered
--> game/src/main.rs:883:34
|
883 | let sent = match e.event {
| ^^^^^^^ pattern `_` not covered
|
note: `gilrs::EventType` defined here
--> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/gilrs-0.11.0/src/ev/mod.rs:88:1
|
88 | pub enum EventType {
| ^^^^^^^^^^^^^^^^^^
= note: the matched value is of type `gilrs::EventType`
= note: `gilrs::EventType` is marked as non-exhaustive, so a wildcard `_` is necessary to match exhaustively
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
|
908 ~ EventType::Dropped => None,
909 ~ _ => todo!(),
|
__END__
|