See test in #5505 Rust PR: https://github.com/dfinity/candid/pull/679 Spec PR and commit https://github.com/dfinity/candid/pull/678 https://github.com/dfinity/candid/pull/678/commits/90af30565382ac814ef954bb935cd369348e3604 (Related slack conversation: https://dfinity.slack.com/archives/C09GAFNLQ73/p1758527370218129)