mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-15 01:55:03 +00:00
17 lines
439 B
Plaintext
17 lines
439 B
Plaintext
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
|
|
|