I updated Kicad to 5.1 (running on Windows, if that makes a difference) and now I have new DRC errors on my board that I’m pretty sure I didn’t have before. I’ve looked around and found only references to the source code for the specific error on the title of this post (pad too close to copper item). In my particular case, the footprint is an PCB antenna loop that is terminated with capacitors. I placed two pads on each of the track ends, and placed one of the capacitor caps on top of them. See the screencaps below:
The PCB has some keepouts to avoid copper pours
As an experiment, I tried to remove the top copper trace in the footprint that connects pads 3 and 4, and the error disappears. That puzzles me because then there should be a similar error on the bottom pads of the antenna, pads 1 and 2.
Can you help me to get rid of this DRC error?