fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
520 B13 linesraw
1warning: unused `Result` that must be used
2  --> $DIR/must-use-in-macro-55516.rs:9:5
3   |
4LL |     write!(&mut example, "{}", 42);
5   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6   |
7   = note: this `Result` may be an `Err` variant, which should be handled
8   = note: `-W unused-must-use` implied by `-W unused`
9   = help: to override `-W unused` add `#[allow(unused_must_use)]`
10   = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
11
12warning: 1 warning emitted
13