dhcpr icon indicating copy to clipboard operation
dhcpr copied to clipboard

No longer compiles

Open alexxroche opened this issue 5 years ago • 0 comments

rustc 1.46.0-nightly (16957bd4d 2020-06-30) cargo 1.46.0-nightly (c26576f9a 2020-06-23)

$ cargo build

   Compiling dhcpr v0.1.0 (./dhcpr)
error: expected one of `(`, `[`, or `{`, found `config`
   --> src/config.rs:113:15
    |
113 |     describe! config::Config {
    |               ^^^^^^ expected one of `(`, `[`, or `{`

error[E0412]: cannot find type `Config` in module `config`
 --> src/dhcp/listener.rs:7:28
  |
7 |     fn new(config: config::Config, sock: UdpSocket) -> Result<Box<Self>>;
  |                            ^^^^^^ not found in `config`
  |
help: consider importing this struct
  |
1 | use rustc_serialize::base64::Config;  
  |

error[E0412]: cannot find type `Config` in module `config`
  --> src/dhcp/listener4.rs:21:28
   |
21 |     fn new(config: config::Config, sock: udp::UdpSocket) -> Result<Box<Self>> {
   |                            ^^^^^^ not found in `config`
   |
help: consider importing this struct
   |
2  | use rustc_serialize::base64::Config; 
   |

error[E0425]: cannot find function `init_config` in module `config`
  --> src/main.rs:71:26
   |
71 |     let config = config::init_config(matches.value_of("config-file"));
   |                          ^^^^^^^^^^^ not found in `config`

alexxroche avatar Aug 04 '20 09:08 alexxroche