Skip to content
This repository was archived by the owner on Jun 7, 2022. It is now read-only.
This repository was archived by the owner on Jun 7, 2022. It is now read-only.

build failed by rustc 1.38.0 #3

@zhang-ray

Description

@zhang-ray
error[E0425]: cannot find function `lookup_host` in module `net`
   --> src/main.rs:315:38
    |
315 |                 let addr = try!(net::lookup_host(name)).filter_map(|addr| {
    |                                      ^^^^^^^^^^^ not found in `net`

error[E0554]: `#![feature]` may not be used on the stable release channel
 --> src/main.rs:1:1
  |
1 | #![feature(lookup_host)]
  | ^^^^^^^^^^^^^^^^^^^^^^^^

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions