211 |
impl<H: BehaviorHost> PartialEq for BehaviorSetEntry<H> {
|
212 |
#[allow(clippy::vtable_address_comparisons)] // The hazards should be okay for this use case
|
213 |
fn eq(&self, other: &Self) -> bool {
|
352 |
// Manual implementation to avoid bounds on `H` and to implement the partiality (comparing pointers instead of values).
|
353 |
#[allow(clippy::vtable_address_comparisons)] // The hazards should be okay for this use case
|
354 |
fn eq(&self, other: &Self) -> bool {
|
253 |
#[test]
|
254 |
#[allow(clippy::vtable_address_comparisons)]
|
255 |
fn erased_listener() {
|
249 |
if let Some(otherexecutes) = &other.command {
|
250 |
#[allow(clippy::vtable_address_comparisons)]
|
251 |
if !Rc::ptr_eq(selfexecutes, otherexecutes) {
|
531 |
}
|
532 |
#[allow(clippy::vtable_address_comparisons)]
|
533 |
async fn test_join_with_maybe_swap_unbounded_case(t: TestCase) -> Result<()> {
|
382 |
#[tokio::test]
|
383 |
#[allow(clippy::vtable_address_comparisons)]
|
384 |
async fn with_new_children() -> Result<()> {
|
268 |
/// in the case of 'false-native'.
|
269 |
#[allow(clippy::vtable_address_comparisons)]
|
270 |
pub fn with_new_children_if_necessary(
|
214 |
/// in the case of 'false-native'.
|
215 |
#[allow(clippy::vtable_address_comparisons)]
|
216 |
pub fn with_new_children_if_necessary(
|
41 |
#[allow(clippy::vtable_address_comparisons)]
|
42 |
impl<IN, OUT> PartialEq for Callback2<IN, OUT> {
|
833 |
// can only happen if we do dynamic casts back and forth on the pointers, and we don't do that.
|
834 |
#[allow(clippy::vtable_address_comparisons)]
|
835 |
{
|
246 |
impl PartialEq for SyncCallback {
|
247 |
#[allow(clippy::vtable_address_comparisons)]
|
248 |
fn eq(&self, other: &Self) -> bool {
|
249 |
impl PartialEq for SyncCallback {
|
250 |
#[allow(clippy::vtable_address_comparisons)]
|
251 |
fn eq(&self, other: &Self) -> bool {
|
166 |
let ptr = rule as *const dyn ScopeAttr;
|
167 |
#[allow(clippy::vtable_address_comparisons)]
|
168 |
if let Some(first) = applied.iter().find(|(_, p)| std::ptr::eq(*p, ptr)) {
|
66 |
// https://github.com/rust-lang/rust-clippy/issues/6524
|
67 |
#[allow(clippy::vtable_address_comparisons)]
|
68 |
Arc::ptr_eq(&self.func, &other.func)
|
48 |
impl PartialEq for ValidityTransform {
|
49 |
#[allow(clippy::vtable_address_comparisons)]
|
50 |
fn eq(&self, other: &Self) -> bool {
|
136 |
// definitions, and each ARCH is a static trait object with a consistent address.
|
137 |
#[allow(clippy::vtable_address_comparisons)]
|
138 |
fn eq(&self, other: &ArchitectureObj) -> bool {
|
193 |
#[test]
|
194 |
#[allow(clippy::vtable_address_comparisons)]
|
195 |
fn get_should_return_same_instance_for_singleton_service() {
|
218 |
#[test]
|
219 |
#[allow(clippy::vtable_address_comparisons)]
|
220 |
fn get_should_return_different_instances_for_transient_service() {
|
262 |
#[test]
|
263 |
#[allow(clippy::vtable_address_comparisons)]
|
264 |
fn two_scoped_service_providers_should_create_different_instances() {
|
283 |
#[test]
|
284 |
#[allow(clippy::vtable_address_comparisons)]
|
285 |
fn parent_child_scoped_service_providers_should_create_different_instances() {
|
304 |
#[test]
|
305 |
#[allow(clippy::vtable_address_comparisons)]
|
306 |
fn scoped_service_provider_should_have_same_singleton_when_eager_created_in_parent() {
|
74 |
#[allow(clippy::vtable_address_comparisons)]
|
75 |
impl PartialEq for Proc {
|
79 |
self.args == other.args && self.pos == other.pos && {
|
80 |
#[allow(clippy::vtable_address_comparisons)]
|
81 |
Arc::ptr_eq(&self.body, &other.body)
|
513 |
);
|
514 |
#[allow(clippy::vtable_address_comparisons)]
|
515 |
for other_hook in more_hooks {
|
137 |
(Some(_), None) => true,
|
138 |
#[allow(clippy::vtable_address_comparisons)]
|
139 |
(Some(prev), Some(new)) => !Arc::ptr_eq(prev, new),
|
551 |
impl PartialEq for StoreLayer {
|
552 |
#[allow(clippy::vtable_address_comparisons)]
|
553 |
fn eq(&self, other: &StoreLayer) -> bool {
|
85 |
if let (Some(left), Some(right)) = (&self.0, &other.0) {
|
86 |
#[allow(clippy::vtable_address_comparisons)] // It's OK, it just needs to be a best guess.
|
87 |
Rc::ptr_eq(left, right)
|
34 |
#[allow(clippy::vtable_address_comparisons)]
|
35 |
impl<IN, OUT> PartialEq for Callback<IN, OUT> {
|
130 |
fn eq(&self, rhs: &Self) -> bool {
|
131 |
#[allow(clippy::vtable_address_comparisons)]
|
132 |
Rc::ptr_eq(&self.dispatch, &rhs.dispatch)
|
187 |
{
|
188 |
#[allow(clippy::vtable_address_comparisons)]
|
189 |
Rc::ptr_eq(lhs, rhs)
|
16 |
#[allow(clippy::vtable_address_comparisons)]
|
17 |
impl<T> PartialEq for ProviderProps<T>
|
34 |
#[allow(clippy::vtable_address_comparisons)]
|
35 |
impl PartialEq for TitleProviderProps {
|
44 |
#[allow(clippy::vtable_address_comparisons)]
|
45 |
impl<IN> PartialEq for Callback<IN> {
|
45 |
impl PartialEq for ItemGenerator {
|
46 |
#[allow(clippy::vtable_address_comparisons)] // We don't care about false negatives
|
47 |
fn eq(&self, other: &Self) -> bool { Rc::ptr_eq(&self.gen, &other.gen) }
|
77 |
clippy::cast_lossless, // for tab/element/mod.rs:492 & 493
|
78 |
clippy::vtable_address_comparisons, // for tab/mod.rs:1415
|
79 |
clippy::derivable_impls, // for types.rs Default for PrintToPDF because autogen
|
77 |
clippy::cast_lossless, // for tab/element/mod.rs:492 & 493
|
78 |
clippy::vtable_address_comparisons, // for tab/mod.rs:1415
|
79 |
clippy::derivable_impls, // for types.rs Default for PrintToPDF because autogen
|
7 |
clippy::reversed_empty_ranges,
|
8 |
clippy::vtable_address_comparisons,
|
9 |
clippy::clippy::assign_op_pattern,
|
91 |
mod test {
|
92 |
#![allow(clippy::vtable_address_comparisons)]
|
545 |
//! the global data structs are not modified before assertion.
|
546 |
#![allow(clippy::vtable_address_comparisons)]
|
13 |
feature = "cargo-clippy",
|
14 |
allow(clippy::new_without_default, vtable_address_comparisons)
|
15 |
)]
|
13 |
feature = "cargo-clippy",
|
14 |
allow(clippy::new_without_default, vtable_address_comparisons)
|
15 |
)]
|
46 |
*/
|
47 |
clippy::vtable_address_comparisons,
|
48 |
)]
|