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