Brian Anderson
|
451e8c1c61
|
Convert most code to new inner attribute syntax.
Closes #2569
|
2014-03-28 17:12:21 -07:00 |
|
Huon Wilson
|
6d778ff610
|
Remove outdated and unnecessary std::vec_ng::Vec imports.
(And fix some tests.)
|
2014-03-22 01:08:57 +11:00 |
|
Patrick Walton
|
af79a5aa7d
|
test: Make manual changes to deal with the fallout from removal of
`~[T]` in test, libgetopts, compiletest, librustdoc, and libnum.
|
2014-03-21 23:37:21 +11:00 |
|
Patrick Walton
|
579eb2400b
|
test: Automatically remove all ~[T] from tests.
|
2014-03-21 23:37:21 +11:00 |
|
Huon Wilson
|
62792f09f2
|
lint: add lint for use of a ~[T] .
This is useless at the moment (since pretty much every crate uses
`~[]`), but should help avoid regressions once completely removed from a
crate.
|
2014-03-14 11:28:39 +11:00 |
|
Kiet Tran
|
c06dd0e0af
|
Add dead-code warning pass
|
2013-12-08 02:55:27 -05:00 |
|
Patrick Walton
|
f571e46ddb
|
test: Remove non-procedure uses of do from compiletest, libstd tests,
compile-fail tests, run-fail tests, and run-pass tests.
|
2013-11-26 08:25:27 -08:00 |
|
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 |
|