How I can disallow unsafe keywords in submodules?
I need a deny placed outside the submodule, and that this deny can not be overridden inside the module in any way. Is it possible?
it should work like this.
In your code, import your submodule like this:
#[forbid(unsafe_code)] mod foo;
Thank you very much)
I work on my own super safe kernel, and this feature very needed
One more question. Is it possible to prohibit the use of “extern crate” in the submodule?