Error: Invalid incomplete type

is it an intellisense error or a build error ?