rust/tests/ui/macros/must-use-in-macro-55516.stderr

13 lines
453 B
Plaintext
Raw Normal View History

2021-01-28 10:01:36 -06:00
warning: unused `Result` that must be used
2018-12-25 09:56:47 -06:00
--> $DIR/must-use-in-macro-55516.rs:9:5
2018-10-31 22:32:45 -05:00
|
2019-03-09 06:03:44 -06:00
LL | write!(&mut example, "{}", 42);
2021-10-14 13:28:28 -05:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2018-10-31 22:32:45 -05:00
|
= note: this `Result` may be an `Err` variant, which should be handled
2022-09-18 10:55:36 -05:00
= note: `-W unused-must-use` implied by `-W unused`
= note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
2018-10-31 22:32:45 -05:00
warning: 1 warning emitted