This is an example of the type of compiler diagnostics you can find in thrustc:
These can be displayed in color using --enable-ansi-color, which is off by default.
For example:
These are some examples of diagnostics that you can find in Thrust and that will be useful when using the language.
In the future, you'll be able to understand it better using thrustc --explain W0004 or thrustc --explain E0007, which will explain in detail why this issue exists in the code.
However, at the time of writing, it is not fully implemented for production.





