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 <j...@joshmatthews.net> wrote:

> 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 more permissive. Similarly, when I've stubbed out a
> method I often end up failing to compile because the arguments are now
> unused. Together, these errors actively impede the process for me, while
> only enhancing the resulting quality of the finished product marginally
> in my opinion.
>
> Cheers,
> Josh
> _______________________________________________
> dev-servo mailing list
> dev-servo@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-servo
>
_______________________________________________
dev-servo mailing list
dev-servo@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-servo

Reply via email to