Project

General

Profile

Bug #2504

ntp parser update cause build failure

Added by Pierre Chifflier over 1 year ago. Updated over 1 year 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}`

History

#1

Updated by Andreas Herz over 1 year ago

  • Target version set to Soon
#2

Updated by Victor Julien over 1 year ago

  • Status changed from New to Closed
  • Target version changed from Soon to 4.1rc1

Also available in: Atom PDF