Update .stderr files

This commit is contained in:
CreepySkeleton
2020-04-24 16:04:35 +03:00
parent 597b3bae86
commit cc102ca60d
4 changed files with 16 additions and 9 deletions
+6 -7
View File
@@ -1,14 +1,13 @@
error[E0599]: no method named `FIRST_ARG_MUST_EITHER_BE_SPAN_OR_IMPLEMENT_TO_TOKENS` found for reference `&Foo` in the current scope
--> $DIR/misuse.rs:8:5
|
4 | struct Foo;
| ----------- doesn't satisfy `Foo: quote::to_tokens::ToTokens`
...
8 | abort!(Foo, "BOOM");
| ^^^^^^^^^^^^^^^^^^^^ method not found in `&Foo`
|
= note: the method `FIRST_ARG_MUST_EITHER_BE_SPAN_OR_IMPLEMENT_TO_TOKENS` exists but the following trait bounds were not satisfied:
`&Foo : proc_macro_error::__export::DoubleSpanToTokens`
= help: items from traits can only be used if the trait is implemented and in scope
= note: the following traits define an item `FIRST_ARG_MUST_EITHER_BE_SPAN_OR_IMPLEMENT_TO_TOKENS`, perhaps you need to implement one of them:
candidate #1: `proc_macro_error::__export::DoubleSpanToTokens`
candidate #2: `proc_macro_error::__export::DoubleSpanSingleSpan2`
candidate #3: `proc_macro_error::__export::DoubleSpanSingleSpan`
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
`Foo: quote::to_tokens::ToTokens`
which is required by `&Foo: proc_macro_error::__export::DoubleSpanToTokens`
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
+2
View File
@@ -6,3 +6,5 @@ error: #[proc_macro_error] attribute can be used only with a proc-macro
|
3 | #[proc_macro_error]
| ^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
+3 -1
View File
@@ -2,4 +2,6 @@ error: Option::expect_or_abort() test
--> $DIR/option_ext.rs:4:1
|
4 | option_ext!(one, two);
| ^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
+5 -1
View File
@@ -3,12 +3,16 @@ error: BOOM
|
8 | let nine = add_one!(two) + add_one!(2 + 3);
| ^^^
|
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
error: BOOM
--> $DIR/proc_macro_hack.rs:8:41
|
8 | let nine = add_one!(two) + add_one!(2 + 3);
| ^^^^^
|
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
warning: unreachable expression
--> $DIR/proc_macro_hack.rs:8:32
@@ -19,4 +23,4 @@ warning: unreachable expression
| any code following this expression is unreachable
|
= note: `#[warn(unreachable_code)]` on by default
= note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
= note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)