mirror of https://github.com/zkat/miette.git
Remove outdated primary_label change
This commit is contained in:
parent
1905af07ef
commit
529b482afe
|
|
@ -19,15 +19,7 @@ mod utils;
|
||||||
|
|
||||||
#[proc_macro_derive(
|
#[proc_macro_derive(
|
||||||
Diagnostic,
|
Diagnostic,
|
||||||
attributes(
|
attributes(diagnostic, source_code, label, related, help, diagnostic_source)
|
||||||
diagnostic,
|
|
||||||
source_code,
|
|
||||||
label,
|
|
||||||
primary_label,
|
|
||||||
related,
|
|
||||||
help,
|
|
||||||
diagnostic_source
|
|
||||||
)
|
|
||||||
)]
|
)]
|
||||||
pub fn derive_diagnostic(input: proc_macro::TokenStream) -> proc_macro::TokenStream {
|
pub fn derive_diagnostic(input: proc_macro::TokenStream) -> proc_macro::TokenStream {
|
||||||
let input = parse_macro_input!(input as DeriveInput);
|
let input = parse_macro_input!(input as DeriveInput);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue