Re:Rust 1.34.0
by gbear605 on Thursday April 11, 2019 @03:42PM
(#19638380)
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?
[ Parent
| on HN ]
Re:Rust 1.34.0
by steveklabnik on Thursday April 11, 2019 @03:48PM
(#19638436)
It’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.
Re:Rust 1.34.0
by Buttons840 on Thursday April 11, 2019 @03:46PM
(#19638417)
Already possible I believe: https://doc.rust-lang.org/rustc/lints/levels.html
Re:Rust 1.34.0
by steveklabnik on Thursday April 11, 2019 @03:50PM
(#19638459)
It’s a policy question, not a technical question. We can absolutely do it technically.