Compile-time errors for incorrect usage of qualifiers