Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't error on likelySubtags entries that change subtags #4131

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -193,12 +193,17 @@ pub(crate) fn transform<'x>(
) {
$stmt;
} else {
panic!(
// This will happen when likelysubtags.xml has an expansion that is *changing* subtags
// instead of just adding them.
//
// We should actually handle these (#4130)
log::warn!(
"The expansion {:?} -> {:?} can not be stored in the pattern {}",
entry.0,
entry.1,
stringify!($pat)
);
continue;
}
};
}
Expand Down
Loading