rust/tests/ui/span/issue-33884.stderr

12 lines
448 B
Plaintext
Raw Normal View History

2017-04-20 19:06:39 -05:00
error[E0308]: mismatched types
2020-10-27 08:10:31 -05:00
--> $DIR/issue-33884.rs:6:22
2017-04-20 19:06:39 -05:00
|
2018-02-22 18:42:32 -06:00
LL | stream.write_fmt(format!("message received"))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Arguments<'_>`, found `String`
2017-04-20 19:06:39 -05:00
|
= note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info)
2017-04-20 19:06:39 -05:00
error: aborting due to previous error
2017-04-20 19:06:39 -05:00
2018-03-03 08:59:40 -06:00
For more information about this error, try `rustc --explain E0308`.