Fix #[Override] on traits overriding a parent method without a matching interface (#12205) Fixes GH-12189 Co-authored-by: Ilija Tovilo <ilija.tovilo@me.com>