Closed Bug 1502679 Opened 7 years ago Closed 7 years ago

warning: unreachable pattern for animation-play_state

Categories

(Core :: CSS Parsing and Computation, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla65
Tracking Status
firefox65 --- fixed

People

(Reporter: MatsPalmgren_bugz, Assigned: emilio)

References

Details

0:01.94 Compiling style v0.0.1 (file:///md1/src/inbound/servo/components/style) 0:02.12 testing/geckodriver/force-cargo-program-build 0:02.30 Finished dev [optimized + debuginfo] target(s) in 0.17s 0:16.03 warning: unreachable pattern 0:16.03 --> /md1/objdir/md1/src/inbound/x86_64-unknown-linux-gnu/debug/build/style-46c38040c24e6056/out/gecko_properties.rs:10768:13 0:16.03 | 0:16.03 10768 | _ => panic!("Found unexpected value for animation-play_state"), 0:16.03 | ^ 0:16.03 | 0:16.03 = note: #[warn(unreachable_patterns)] on by default
Assignee: nobody → emilio
Blocks: 1500439
Pushed by emilio@crisal.io: https://hg.mozilla.org/integration/mozilla-inbound/rev/3415a6d8d935 Properly handle exhaustive matches in animation keywords to avoid a warning.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in before you can comment on or make changes to this bug.