1 // aux-build:custom-quote.rs
2 // aux-build:span-from-proc-macro.rs
3 // compile-flags: -Z macro-backtrace
6 extern crate span_from_proc_macro;
8 #[error_from_attribute] //~ ERROR cannot find type `MissingType`
9 struct ShouldBeRemoved;
11 #[derive(ErrorFromDerive)] //~ ERROR cannot find type `OtherMissingType`
15 error_from_bang!(); //~ ERROR mismatched types
16 other_error_from_bang!(); //~ ERROR cannot find value `my_ident`