tamer: nir::air: Include mention of .experimental file in TODO help

The previous commit introduced support for a `.experimental` file to tigger
`xmlo-experimental`.  This modifies the error message for unsupported
features to make mention of it to help to the user track down the problem.

DEV-13162
main
Mike Gerwitz 2023-06-14 13:03:21 -04:00
parent a9bbb87612
commit 9887abd037
1 changed files with 4 additions and 0 deletions

View File

@ -398,6 +398,10 @@ impl Diagnostic for NirToAirError {
are you unintentionally using the `--emit xmlo-experimental` \
command line option?"
),
tok.span().help(
"this package may also have a sibling `.experimental` file \
that triggers `xmlo-experimental`"
),
],
MatchSubjectExpected(ospan, given) => vec![