Re: [dev-servo] Let's turn off deny(unused_imports) and deny(unused_variables)

2015-02-08 Thread Sean McArthur
I've found that setting those sorts of lints to be on only for tests to be best of both worlds. Such as #[cfg_attr(test, deny(warnings))]. On Sun, Feb 8, 2015, 10:53 PM Josh Matthews wrote: > These are frequent source of frustration for me, especially when > commenting out bits of code for when

[dev-servo] Let's turn off deny(unused_imports) and deny(unused_variables)

2015-02-08 Thread Josh Matthews
These are frequent source of frustration for me, especially when commenting out bits of code for when testing/debugging. The presence of unused imports never affects the correctness of the rest of the code in the file, so I'd like to make the development experience a bit more pleasant by being