]> git.lizzy.rs Git - rust.git/blob - src/test/ui/span/issue-33884.stderr
Rollup merge of #61207 - taiki-e:arbitrary_self_types-lifetime-elision-2, r=Centril
[rust.git] / src / test / ui / span / issue-33884.stderr
1 error[E0308]: mismatched types
2   --> $DIR/issue-33884.rs:8:22
3    |
4 LL |     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
11 error: aborting due to previous error
12
13 For more information about this error, try `rustc --explain E0308`.