Crates.io | compiler_error |
lib.rs | compiler_error |
version | 0.1.1 |
source | src |
created_at | 2016-12-23 15:22:25.739528 |
updated_at | 2017-06-09 22:14:11.258489 |
description | Triggerable compiler error |
homepage | |
repository | https://github.com/lu-zero/compiler_error |
max_upload_size | |
id | 7746 |
size | 3,387 |
compiler_error
is a rust compiler plugin that simply triggers a compilation
error on demand and prints the token it receives, it is similar to the #error
directive in the C preprocessor.
It is quite useful to provide helpful error message in macros with non-trival syntaxes.