fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0277]: the trait bound `NoToSocketAddrs: ToSocketAddrs` is not satisfied 2 --> $DIR/issue-39029.rs:16:38 3 | 4LL | let _errors = TcpListener::bind(&bad); 5 | ----------------- ^^^ the trait `ToSocketAddrs` is not implemented for `NoToSocketAddrs` 6 | | 7 | required by a bound introduced by this call 8 | 9 = note: required for `&NoToSocketAddrs` to implement `ToSocketAddrs` 10note: required by a bound in `TcpListener::bind` 11 --> $SRC_DIR/std/src/net/tcp.rs:LL:COL 12help: consider dereferencing here 13 | 14LL | let _errors = TcpListener::bind(&*bad); 15 | + 16 17error: aborting due to previous error 18 19For more information about this error, try `rustc --explain E0277`.