3 ms·
Would it be reasonable to introduce a compiler flag that is enabled by default to mark this category of warnings as errors, or would even that need a major vers
by gbear605 8y ago
Would it be reasonable to introduce a compiler flag that is enabled by default to mark this category of warnings as errors, or would even that need a major version bump?
- Buttons840 8y agoAlready possible I believe: https://doc.rust-lang.org/rustc/lints/levels.html https://doc.rust-lang.org/rustc/lints/levels.html
- steveklabnik 8y agoIt’s a policy question, not a technical question. We can absolutely do it technically.
- steveklabnik 8y agoIt’s not really feasible. Maybe in an extreme case, but this just isn’t one. We have done this for fixing language soundness holes, but it is extremely rare. The spirit of the law matters as much, if not more, than the letter.