blob: c47d28b45625db4390e568392354a99c2101e8a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
error[E0308]: mismatched types
--> $DIR/issue-33884.rs:18: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`.
|