Locust leafminer adult beetles are yellowish and flat.
Locust leafminer adult beetle

Photo by David Cappaert, Michigan State University, Bugwood.org