···6060 ParseErrorType::ExpectedFunctionDefinition => {
6161 ("I was expecting a function definition after this", vec![])
6262 }
6363+ ParseErrorType::ExpectedTargetName => (
6464+ "I was expecting a target name after this",
6565+ vec!["Try `erlang`, `javascript`.".into()],
6666+ ),
6367 ParseErrorType::ExtraSeparator => (
6468 "This is an extra delimiter",
6569 vec!["Hint: Try removing it?".into()],
···351355 ExpectedDefinition, // after attributes
352356 ExpectedDeprecationMessage, // after "deprecated"
353357 ExpectedFunctionDefinition, // after function-only attributes
358358+ ExpectedTargetName, // after "@target("
354359 ExprLparStart, // it seems "(" was used to start an expression
355360 ExtraSeparator, // #(1,,) <- the 2nd comma is an extra separator
356361 IncorrectName, // UpName or DiscardName used when Name was expected