fork/rust

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

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

master
523 B17 linesraw
1error: comparing with a non-unique address of a function item
2  --> $DIR/fn_address_comparisons.rs:15:13
3   |
4LL |     let _ = f == a;
5   |             ^^^^^^
6   |
7   = note: `-D clippy::fn-address-comparisons` implied by `-D warnings`
8   = help: to override `-D warnings` add `#[allow(clippy::fn_address_comparisons)]`
9
10error: comparing with a non-unique address of a function item
11  --> $DIR/fn_address_comparisons.rs:18:13
12   |
13LL |     let _ = f != a;
14   |             ^^^^^^
15
16error: aborting due to 2 previous errors
17