rust/src/test
Eduard Bopp 9982de6397 Warn about unnecessary parentheses upon assignment
Closes #12366.

Parentheses around assignment statements such as

    let mut a = (0);
    a = (1);
    a += (2);

are not necessary and therefore an unnecessary_parens warning is raised when
statements like this occur.

The warning mechanism was refactored along the way to allow for code reuse
between the routines for checking expressions and statements.

Code had to be adopted throughout the compiler and standard libraries to comply
with this modification of the lint.
2014-02-22 16:32:48 +01:00
..
auxiliary Re-work loading crates with nicer errors 2014-02-20 17:48:32 -08:00
bench auto merge of #12422 : alexcrichton/rust/buffered-default, r=brson 2014-02-21 23:56:47 -08:00
codegen Add pub to all the codegen tests 2013-10-10 06:00:51 -07:00
compile-fail Warn about unnecessary parentheses upon assignment 2014-02-22 16:32:48 +01:00
debug-info debuginfo: Re-enable test case that should have worked all along. 2014-02-19 17:16:36 +01:00
pretty extern mod => extern crate 2014-02-14 22:55:21 -08:00
run-fail Update clients of the TaskBuilder API 2014-02-16 15:34:02 -08:00
run-make auto merge of #12379 : alexcrichton/rust/fix-ar-thing, r=brson 2014-02-19 10:21:50 -08:00
run-pass auto merge of #12411 : Arcterus/rust/time, r=alexcrichton 2014-02-21 19:46:51 -08:00
run-pass-fulldeps extern mod => extern crate 2014-02-14 22:55:21 -08:00