useproc_macro::{Diagnostic, Level};usequote::__private::Span;/// Generate compile error which is associated with `span` and contains the message `msg`.
pubfnemit_error(span: Span, msg: impl Into<String>){Diagnostic::spanned(vec![span.unwrap()],Level::Error, msg).emit();}