Use full paths in impl block handling instead of assuming in-file idents
authorMatt Corallo <git@bluematt.me>
Tue, 19 Apr 2022 19:24:50 +0000 (19:24 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 19 Apr 2022 20:34:03 +0000 (20:34 +0000)
commit41e053cac1a23c669ac48a347c80f3ca8aedf571
treef63970d92b85f5fd45b860c9b03d0aa28392867a
parent8f3b8e4b52275f738016a4d1bbc8a0e9be90039e
Use full paths in impl block handling instead of assuming in-file idents

In the next commit we'll want to handle impl blocks in one module
for an object that is defined in a different model. This violates
several existing assumptions in the impl block handling code,
namely that we're implementing for an object declared in the
current module. This relaxes that assumption in a few places.
c-bindings-gen/src/main.rs