2018-11-01 03:32:45 +00:00
|
|
|
warning: unused `std::result::Result` that must be used
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/must-use-in-macro-55516.rs:9:5
|
2018-11-01 03:32:45 +00:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | write!(&mut example, "{}", 42);
|
2018-11-01 03:32:45 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: `-W unused-must-use` implied by `-W unused`
|
|
|
|
= note: this `Result` may be an `Err` variant, which should be handled
|
2019-12-16 15:56:47 +02:00
|
|
|
= note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-11-01 03:32:45 +00:00
|
|
|
|
2020-03-11 16:30:09 +01:00
|
|
|
warning: 1 warning emitted
|
|
|
|
|