[][src]Module proc_macro_error::single

This module contains data types and functions to be used for single-error reporting.

These are supposed to be used through span_error! and call_site_error!, see crate level documentation.

Structs

MacroError

An single error in a proc-macro. This struct preserves the given span so rustc can highlight the exact place in user code responsible for the error.