Defining a child struct pointer in a struct should not be treated as a struct declaration.

struct child_t {
int foo;
};
struct parent_t {
struct child_t *child_pointer;
// ^ - entity.name.struct [ This check fails ]
struct child_t child;
// ^ - entity.name.struct
struct nested_t {
// ^ entity.name.struct
int bar;
} nested;
};