mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
Fix ci checks
This commit is contained in:
parent
b1430fb7ca
commit
85fc39c1e3
@ -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…
Reference in New Issue
Block a user