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