error: expected attribute arguments in parentheses: #[from_located(...)] --> tests/trybuild/05-from-located-no-module.rs:16:9 | 16 | A(#[from_located] AError), | ^^^^^^^^^^^^ error[E0412]: cannot find type `LocatedTestError` in this scope --> tests/trybuild/05-from-located-no-module.rs:28:50 | 19 | #[derive(LocatedError, Eq, PartialEq, Debug, Clone)] | ------------ similarly named struct `LocatedAError` defined here ... 28 | fn parse(buf: Span<'_>) -> IResult, u8, LocatedTestError<'_>> { | ^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `LocatedAError`