0dd9f118d9
When there are multiple macros in use, it can be difficult to tell which one was responsible for producing an error.
13 lines
454 B
Plaintext
13 lines
454 B
Plaintext
warning: unused `Result` that must be used
|
|
--> $DIR/must-use-in-macro-55516.rs:9:5
|
|
|
|
|
LL | write!(&mut example, "{}", 42);
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: `-W unused-must-use` implied by `-W unused`
|
|
= note: this `Result` may be an `Err` variant, which should be handled
|
|
= note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
warning: 1 warning emitted
|
|
|