mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-13 09:05:00 +00:00
6 lines
133 B
Rust
6 lines
133 B
Rust
|
use std::net::TcpStream;
|
||
|
|
||
|
fn main() {
|
||
|
let stream = TcpStream::new(); //~ ERROR no function or associated item named `new` found
|
||
|
}
|