summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/fn_address_comparisons.stderr
blob: 9c1b5419a4319a7249fe196357db1ddf491cce64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
error: comparing with a non-unique address of a function item
  --> $DIR/fn_address_comparisons.rs:15:13
   |
LL |     let _ = f == a;
   |             ^^^^^^
   |
   = note: `-D clippy::fn-address-comparisons` implied by `-D warnings`

error: comparing with a non-unique address of a function item
  --> $DIR/fn_address_comparisons.rs:16:13
   |
LL |     let _ = f != a;
   |             ^^^^^^

error: aborting due to 2 previous errors