Project

General

Profile

Actions

Bug #2504

closed

ntp parser update cause build failure

Added by Pierre Chifflier over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

After update to ntp-parser 0.2.0:

error[E0308]: mismatched types
  --> src/ntp/ntp.rs:92:32
   |
92 |                 if msg.mode == 1 || msg.mode == 3 {
   |                                ^
   |                                |
   |                                expected struct `ntp::ntp::ntp_parser::NtpMode`, found integral variable
   |                                help: try using a variant of the expected type: `ntp::ntp::ntp_parser::NtpMode(1)`
   |
   = note: expected type `ntp::ntp::ntp_parser::NtpMode`
              found type `{integer}`
Actions #1

Updated by Andreas Herz over 6 years ago

  • Target version set to 70
Actions #2

Updated by Victor Julien over 6 years ago

  • Status changed from New to Closed
  • Target version changed from 70 to 4.1rc1
Actions

Also available in: Atom PDF