Patrick Walton
|
406813957b
|
test: Remove most uses of &fn() from the tests.
|
2013-11-26 08:19:00 -08:00 |
|
Huon Wilson
|
6bd8bb51a0
|
lint: _-prefixed variables don't get an unused-mut warning.
Bringing it into line with the unused-variable one,
fn main() {
let mut _a = 1;
}
will not warn that `_a` is never used mutably.
Fixes #6911.
|
2013-11-16 22:20:42 +11:00 |
|
Luqman Aden
|
f5e64aeb41
|
Test for mut in ident patterns.
|
2013-10-25 01:50:56 -04:00 |
|
Patrick Walton
|
8114d0e950
|
librustc: Disallow multiple patterns from appearing in a "let" declaration.
You can still initialize multiple variables at once with "let (x, y) = (1, 2)".
|
2013-06-04 21:45:42 -07:00 |
|
Alex Crichton
|
030c666cc1
|
Re-implement lint with less emphasis on item ids
This way it's much easier to add lints throughout compilation correctly, and
functions on impls can alter the way lints are emitted.
|
2013-05-17 00:49:16 -04:00 |
|