Commit Graph

1868 Commits

Author SHA1 Message Date
mcarton
f6f4af6adc
Add missing tests for ... and array indexing 2016-10-02 14:42:55 +02:00
mcarton
d982b19a0e
Fix slightly wrong comment 2016-10-02 14:30:21 +02:00
mcarton
f03bac6c3a
Remove a useless method 2016-10-02 02:47:53 +02:00
mcarton
e50cfa7e77
Add a test for a shadow corner case 2016-10-02 02:38:54 +02:00
mcarton
9a3f53dee6
Partially hash let declaration in SpanlessHash
The hash never needs to be good but before it was simply doing nothing
for these.
2016-10-02 02:17:04 +02:00
mcarton
6302e41ccb
Improve test coverage of hir comparison 2016-10-01 22:27:25 +02:00
mcarton
e036a8145a
Support ExprType (type ascription) comparison
*ish
2016-10-01 22:26:57 +02:00
mcarton
3e009b9424
Implement more hir typed node comparison 2016-10-01 22:19:20 +02:00
mcarton
84269478b0
chmod -x tests/compile-fail/print_with_newline.rs 2016-10-01 00:50:40 +02:00
mcarton
e66d2311f2
Move set -e of travis down
We really can continue to build when the first two commands fail.
2016-10-01 00:38:01 +02:00
Martin Carton
05ee1b6254 Merge pull request #1248 from Manishearth/rustup2
Rustup to *rustc 1.14.0-nightly (289f3a4ca 2016-09-29)* and bump to 0.0.92
2016-09-30 22:13:22 +02:00
mcarton
ee5a5a256f
Bump to 0.0.92 2016-09-30 22:07:01 +02:00
mcarton
eec5425b34
Rustup to *rustc 1.14.0-nightly (289f3a4ca 2016-09-29)* 2016-09-30 22:03:21 +02:00
Martin Carton
fe27ac5fd2 Merge pull request #1237 from Manishearth/rustup
Rustup to *rustc 1.13.0-nightly (d0623cf7b 2016-09-26)* and bump to 0.0.91
2016-09-28 01:15:33 +02:00
mcarton
ec27062bb6
Bump to 0.0.91 2016-09-28 01:10:50 +02:00
mcarton
4f3920307a
Rustup to *rustc 1.13.0-nightly (d0623cf7b 2016-09-26)* 2016-09-28 01:09:11 +02:00
Martin Carton
6361c87509 Merge pull request #1240 from Manishearth/compiletest
Remove redundant labels in tests
2016-09-23 19:58:43 +02:00
mcarton
056b0c1cf2
Remove redundant labels in tests 2016-09-23 19:51:47 +02:00
Manish Goregaokar
fc9f2b99c7 Merge pull request #1235 from Manishearth/transmute_ptr_to_ref-suggs
Fix wrong suggestion in `TRANSMUTE_PTR_TO_REF` with lts
2016-09-19 22:02:47 +05:30
Martin Carton
9963a2c78c Merge pull request #1171 from oli-obk/examples
also run clippy on examples, tests and benchmarks
2016-09-19 18:30:24 +02:00
mcarton
f74dcaac0c
Fix wrong suggestion in TRANSMUTE_PTR_TO_REF with lts 2016-09-19 17:59:12 +02:00
Oliver Schneider
c89c5d21c1
Merge remote-tracking branch 'origin/master' into examples 2016-09-19 15:38:38 +02:00
mcarton
5f1120b346
Fix markup in SINGLE_CHAR_PATTERN documentation 2016-09-18 18:27:08 +02:00
Martin Carton
25b0396a57 Merge pull request #1233 from l1048576/master
Fix typo in example codes of "match" lints
2016-09-18 13:28:55 +02:00
Takuma YOSHIOKA
7b6a60ca69
Fix typo in example codes of "matches" lints
Use `=>` for match arms (instead of wrong `->`).
2016-09-18 20:17:25 +09:00
Manish Goregaokar
b8b3eb9bf1 Merge pull request #1229 from Manishearth/loops
Fix #1188
2016-09-16 19:39:58 +05:30
mcarton
c8986b4676
Fix FP with WHILE_LET_ON_ITERATOR and refutable pats 2016-09-16 15:50:35 +02:00
mcarton
90c390ec2a
Fix typo
Who cares? Meh, consistency.
2016-09-16 15:45:19 +02:00
Manish Goregaokar
766217f9ac Merge pull request #1227 from Manishearth/readme_improvements
List lints at the end of the readme
2016-09-15 22:18:52 +05:30
Oliver Schneider
b778269f54 List lints at the end of the readme 2016-09-15 17:19:30 +02:00
Martin Carton
dc84759ac5 Merge pull request #1224 from oli-obk/divergence
lint diverging expressions that are sub-expressions of others
2016-09-13 15:58:31 +02:00
Oliver Schneider
9427a4ae80
also test match statements, return, continue and break 2016-09-13 14:52:21 +02:00
Oliver Schneider
e6bfe4b514
also lint diverging methods 2016-09-13 12:41:37 +02:00
Oliver Schneider
a2257280ec
don't lint expressions referencing ! objects, just expressions creating them 2016-09-13 12:41:20 +02:00
Oliver Schneider
05e734b555 Merge pull request #1223 from oli-obk/use_your_token_to_figure_out_if_you_are_in_reality
Let the submodule `#[allow]` in `module_inception`
2016-09-13 11:35:54 +02:00
Oliver Schneider
40ce3a8f1c
add tests for stutter lints 2016-09-13 10:20:10 +02:00
Oliver Schneider
12a82b2007
also lint private modules for module_inception, as that is the main issue 2016-09-13 10:19:55 +02:00
Oliver Schneider
f469860dc2
lint diverging expressions that are sub-expressions of others 2016-09-12 14:24:11 +02:00
Oliver Schneider
03fa974855
Let the submodule #[allow] in module_inception 2016-09-12 10:30:42 +02:00
mcarton
8216036193
Add test for #[allow(module_inception)] on the inner module 2016-09-12 10:11:48 +02:00
mcarton
cb49e4e210
Update CHANGELOG 2016-09-10 19:22:29 +02:00
Martin Carton
defa497a04 Merge pull request #1221 from Manishearth/rustup
Rustup *1.13.0-nightly (f1f40f850 2016-09-09)* and bump to 0.0.90
2016-09-10 19:18:29 +02:00
mcarton
7279dc3edf
Bump to 0.0.90 2016-09-10 19:13:55 +02:00
mcarton
ab6669a641
Rustup to *rustc 1.13.0-nightly (f1f40f850 2016-09-09)* 2016-09-10 19:13:49 +02:00
mcarton
b08c7aa553
Remove EOL space 2016-09-09 20:24:15 +02:00
Martin Carton
7e12546a60 Merge pull request #1217 from Manishearth/rustup
Rustup to *rustc 1.13.0-nightly (cbe4de78e 2016-09-05)* and bump to 0.0.89
2016-09-06 19:12:28 +02:00
mcarton
9263ec3616
Bump to 0.0.89 2016-09-06 19:05:53 +02:00
mcarton
c090c3df21
Rustup to *rustc 1.13.0-nightly (cbe4de78e 2016-09-05)* 2016-09-06 19:04:38 +02:00
Martin Carton
8bd14f6c3c Merge pull request #1215 from Manishearth/rustup
Rustup to *rustc 1.13.0-nightly (70598e04f 2016-09-03)* and bump to 0.0.88
2016-09-04 17:55:46 +02:00
mcarton
e9ba9ec1a2
Bump to 0.0.88 2016-09-04 17:50:14 +02:00