1 error[E0412]: cannot find type `MissingType` in this scope
2 --> $DIR/auxiliary/span-from-proc-macro.rs:37:20
4 LL | pub fn error_from_attribute(_args: TokenStream, _input: TokenStream) -> TokenStream {
5 | ----------------------------------------------------------------------------------- in this expansion of `#[error_from_attribute]`
7 LL | field: MissingType
8 | ^^^^^^^^^^^ not found in this scope
10 ::: $DIR/span-from-proc-macro.rs:8:1
12 LL | #[error_from_attribute]
13 | ----------------------- in this procedural macro expansion
15 error[E0412]: cannot find type `OtherMissingType` in this scope
16 --> $DIR/auxiliary/span-from-proc-macro.rs:46:21
18 LL | pub fn error_from_derive(_input: TokenStream) -> TokenStream {
19 | ------------------------------------------------------------ in this expansion of `#[derive(ErrorFromDerive)]`
21 LL | Variant(OtherMissingType)
22 | ^^^^^^^^^^^^^^^^ not found in this scope
24 ::: $DIR/span-from-proc-macro.rs:11:10
26 LL | #[derive(ErrorFromDerive)]
27 | --------------- in this derive macro expansion
29 error[E0425]: cannot find value `my_ident` in this scope
30 --> $DIR/auxiliary/span-from-proc-macro.rs:29:9
32 LL | pub fn other_error_from_bang(_input: TokenStream) -> TokenStream {
33 | ---------------------------------------------------------------- in this expansion of `other_error_from_bang!`
34 LL | custom_quote::custom_quote! {
36 | ^^^^^^^^ not found in this scope
38 ::: $DIR/span-from-proc-macro.rs:16:5
40 LL | other_error_from_bang!();
41 | ------------------------- in this macro invocation
43 error[E0308]: mismatched types
44 --> $DIR/auxiliary/span-from-proc-macro.rs:16:36
46 LL | let bang_error: bool = 25;
47 | ---- ^^ expected `bool`, found integer
49 | expected due to this
51 LL | pub fn error_from_bang(_input: TokenStream) -> TokenStream {
52 | ---------------------------------------------------------- in this expansion of `error_from_bang!`
54 ::: $DIR/span-from-proc-macro.rs:15:5
56 LL | error_from_bang!();
57 | ------------------- in this macro invocation
59 error: aborting due to 4 previous errors
61 Some errors have detailed explanations: E0308, E0412, E0425.
62 For more information about an error, try `rustc --explain E0308`.