Fix ci checks
This commit is contained in:
parent
b1430fb7ca
commit
85fc39c1e3
3 changed files with 3 additions and 3 deletions
|
@ -173,7 +173,7 @@ impl MultiItemModifier for DeriveProcMacro {
|
||||||
|
|
||||||
// fail if there have been errors emitted
|
// fail if there have been errors emitted
|
||||||
if ecx.sess.parse_sess.span_diagnostic.err_count() > error_count_before {
|
if ecx.sess.parse_sess.span_diagnostic.err_count() > error_count_before {
|
||||||
ecx.struct_span_err(span, "proc-macro derive produced unparsable tokens").emit();
|
ecx.struct_span_err(span, "proc-macro derive produced unparseable tokens").emit();
|
||||||
}
|
}
|
||||||
|
|
||||||
ExpandResult::Ready(items)
|
ExpandResult::Ready(items)
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
error: invalid `--check-cfg` argument: `names("NOT_IDENT")` (`names()` arguments must be simple identifers)
|
error: invalid `--check-cfg` argument: `names("NOT_IDENT")` (`names()` arguments must be simple identifiers)
|
||||||
|
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
error: invalid `--check-cfg` argument: `values("NOT_IDENT")` (`values()` first argument must be a simple identifer)
|
error: invalid `--check-cfg` argument: `values("NOT_IDENT")` (`values()` first argument must be a simple identifier)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue