Custom compilation error and message


#1

Hey,

Is there a way to raise compilation errors and output messages? I’d like to stop compilation if some features are used together (as they’re cannot be used one with each other). Any idea?


#2

There’s an RFC adding just that feature. For now, just use an invalid construct that has a long function/type name that explains the error (look at the RFC for examples)