summaryrefslogtreecommitdiffstats
path: root/src/test/ui/macros/must-use-in-macro-55516.stderr
blob: b56b00cc7d93ca0e8d8e770a93c05565a354edd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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