Is ignored unless specified at crate level

I am getting the warning message

warning: allow(mixed_script_confusables) is ignored unless specified at crate level

I am not sure where I need to put this. It is in a library crate, so I tried putting it in the the lib.rs file like this

#[allow(mixed_script_confusables)]
pub mod signed;

That does not work. Where should I put it?

At crate level means you need to put it as #![allow(mixed_script_confusables)] (with the exclamation mark) into your lib.rs (at/near the top of the file).

Thank you. That fixed it.

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.