```rust
ty::trait_method_of_method(...).filtered(|def_id| method.id != def_id.node && def_id.node == 0)
```

Also, isn't this just `method.id != 0 && def_id.node == 0`? Also, I feel like `def_id.node == 0` is a peculiar condition?