fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
606 B13 linesraw
1error[E0308]: mismatched types
2  --> $DIR/issue-33884.rs:8:22
3   |
4LL |     stream.write_fmt(format!("message received"))
5   |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::fmt::Arguments`, found struct `std::string::String`
6   |
7   = note: expected type `std::fmt::Arguments<'_>`
8              found type `std::string::String`
9   = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
10
11error: aborting due to previous error
12
13For more information about this error, try `rustc --explain E0308`.