1ea88969fSopenharmony_cierror[E0599]: no method named `FIRST_ARG_MUST_EITHER_BE_Span_OR_IMPLEMENT_ToTokens_OR_BE_SpanRange` found for reference `&Foo` in the current scope 2ea88969fSopenharmony_ci --> $DIR/misuse.rs:8:5 3ea88969fSopenharmony_ci | 4ea88969fSopenharmony_ci4 | struct Foo; 5ea88969fSopenharmony_ci | ----------- doesn't satisfy `Foo: quote::to_tokens::ToTokens` 6ea88969fSopenharmony_ci... 7ea88969fSopenharmony_ci8 | abort!(Foo, "BOOM"); 8ea88969fSopenharmony_ci | ^^^^^^^^^^^^^^^^^^^^ method not found in `&Foo` 9ea88969fSopenharmony_ci | 10ea88969fSopenharmony_ci = note: the method `FIRST_ARG_MUST_EITHER_BE_Span_OR_IMPLEMENT_ToTokens_OR_BE_SpanRange` exists but the following trait bounds were not satisfied: 11ea88969fSopenharmony_ci `Foo: quote::to_tokens::ToTokens` 12ea88969fSopenharmony_ci which is required by `&Foo: proc_macro_error::__export::ToTokensAsSpanRange` 13ea88969fSopenharmony_ci = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) 14