]> git.lizzy.rs Git - rust.git/blob - src/test/ui/macros/must-use-in-macro-55516.stderr
Rollup merge of #93813 - xldenis:public-mir-passes, r=wesleywiser
[rust.git] / src / test / ui / macros / must-use-in-macro-55516.stderr
1 warning: unused `Result` that must be used
2   --> $DIR/must-use-in-macro-55516.rs:9:5
3    |
4 LL |     write!(&mut example, "{}", 42);
5    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6    |
7    = note: `-W unused-must-use` implied by `-W unused`
8    = note: this `Result` may be an `Err` variant, which should be handled
9    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
10
11 warning: 1 warning emitted
12