{"id":20667014,"url":"https://github.com/lu-zero/compiler_error","last_synced_at":"2025-04-19T17:04:17.338Z","repository":{"id":57609501,"uuid":"77183020","full_name":"lu-zero/compiler_error","owner":"lu-zero","description":"Triggerable compiler errors for rustc \u003c 1.20","archived":false,"fork":false,"pushed_at":"2017-08-14T13:51:09.000Z","size":3,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-08T16:08:48.238Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lu-zero.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-12-22T23:32:10.000Z","updated_at":"2023-02-07T13:04:43.000Z","dependencies_parsed_at":"2022-08-27T11:32:03.306Z","dependency_job_id":null,"html_url":"https://github.com/lu-zero/compiler_error","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lu-zero%2Fcompiler_error","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lu-zero%2Fcompiler_error/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lu-zero%2Fcompiler_error/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lu-zero%2Fcompiler_error/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lu-zero","download_url":"https://codeload.github.com/lu-zero/compiler_error/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224964672,"owners_count":17399434,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-16T19:42:36.017Z","updated_at":"2024-11-16T19:42:36.651Z","avatar_url":"https://github.com/lu-zero.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Triggerable custom compiler error\n\n[![Crates.io](https://img.shields.io/crates/v/compiler_error.svg)](https://crates.io/crates/compiler_error)\n[![LICENSE](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)\n\n`compiler_error` is a rust compiler plugin that simply triggers a compilation\nerror on demand and prints the token it receives, it is similar to the `#error`\ndirective in the C preprocessor.\n\nIt is quite useful to provide helpful error message in macros with non-trival syntaxes.\n\n## Note\n\nFrom [Rust 1.20](https://github.com/rust-lang/rust/issues/40872) an identical macro is available directly in the standard library, please use this only for backwards compatibility.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flu-zero%2Fcompiler_error","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flu-zero%2Fcompiler_error","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flu-zero%2Fcompiler_error/lists"}