mcarton
|
83a82a1d86
|
Remove redundancy in lint documentation
The default level is always given in the declare_lint! macro, no need to
add it inconsistently in the documentation.
|
2016-02-06 00:41:54 +01:00 |
|
mcarton
|
13f245f6c9
|
Fix util/update_wiki.py warnings and be consistent in declare_lint! invocations
|
2016-02-06 00:13:29 +01:00 |
|
Oliver 'ker' Schneider
|
2a51f8d2be
|
lint on items following statements
|
2016-01-24 10:16:56 +01:00 |
|
Manish Goregaokar
|
c9342d0121
|
fmt clippy
|
2016-01-04 09:56:12 +05:30 |
|
Manish Goregaokar
|
1605ef6ed4
|
Rustup to syntax::errors changes
|
2016-01-02 16:10:15 +05:30 |
|
llogiq
|
5bbc1427fd
|
added wiki comments + wiki-generating python script
|
2015-12-11 01:22:27 +01:00 |
|
Guillaume Gomez
|
72117836f1
|
Add check on redundant _ bindings in structs
|
2015-12-07 13:16:59 +01:00 |
|
Seo Sanghyeon
|
26f539eaa3
|
Remove unused qualifications
|
2015-12-02 23:25:12 +09:00 |
|
Devon Hollowood
|
443e4556c2
|
Add lints suggesting map_or() and map_or_else()
In accordance with the latter lint, replace map().unwrap_or_else() in
src/mut_mut.rs with map_or_else()
|
2015-11-25 23:56:45 -08:00 |
|
Seo Sanghyeon
|
1d602d0f12
|
rustfmt a little
|
2015-11-17 14:22:57 +09:00 |
|
Manish Goregaokar
|
f4da7d09d2
|
Upgrade Rust to rustc 1.5.0-nightly (cff041170 2015-09-17)
LintPass was split and ExprParen was removed from the HIR
Fixes #338
|
2015-09-19 08:23:04 +05:30 |
|
Manish Goregaokar
|
0e658afc1b
|
Fix mut_mut false positive, make Allow (fixes #309)
|
2015-09-08 02:29:13 +05:30 |
|
Andre Bogus
|
54393f0ef5
|
More strict macro check
|
2015-09-06 10:53:55 +02:00 |
|
Manish Goregaokar
|
eca185438b
|
Update rust to 0efb9dab8c7c07fa28e9df0eccc5c07ea3c17fbb (HIR+lints, Thu Sep 3 18:59:56 2015 +0530)
fixes #294
|
2015-09-03 23:12:19 +05:30 |
|
Georg Brandl
|
47b605304d
|
all: organize imports
* remove unused imports
* separate external and internal imports
* consistent import of rustc::lint
* move #[allow(unused_imports)] to local impl
|
2015-08-16 08:55:34 +02:00 |
|
Georg Brandl
|
2c2716f045
|
all: DRY for lint descriptions
* use the rustc style for lint descriptions
* add a script to parse all lint descriptions
and put the generated table into README
|
2015-08-13 11:14:05 +02:00 |
|
Georg Brandl
|
a67e55f3f0
|
lint messages: remove trailing period
Since lint messages often are suffixed by ", #[warn(xxx)] on by default"
this trailing period produces an ugly clash with the comma.
|
2015-08-13 08:15:42 +02:00 |
|
Georg Brandl
|
bcd95aec1c
|
all: make style of lint messages consistent
* start first sentence lowercased
* use backticks to delimit code snippets
* use "this is wrong. Consider doing X." consistently
|
2015-08-12 10:47:09 +02:00 |
|
Georg Brandl
|
e318328d63
|
all: whitespace cleanup
* 4-space indentation
* no trailing whitespace
* no tabs
|
2015-08-11 20:22:50 +02:00 |
|
Manish Goregaokar
|
0e8e8cfc9b
|
Basic framework for structured logging
|
2015-07-27 00:39:09 +05:30 |
|
llogiq
|
251c5cfffd
|
rustup, also first time clippy was used on itself, which led to a small refactoring
|
2015-07-16 08:53:02 +02:00 |
|
Zachary Bush
|
038d540ab1
|
Fix build for rustc 1.3.0-nightly (bf3c979ec 2015-06-30)
|
2015-07-01 09:21:46 -07:00 |
|
Zachary Bush
|
0ffbdf2f8a
|
Fix build with rustc 1.2.0-nightly (20d23d8e5 2015-06-18)
In https://github.com/rust-lang/rust/pull/26347, MacroFormat was
renamed to ExpnFormat. MacroFormat wasn't being used in
src/mut_mut.rs, so I removed it.
|
2015-06-18 15:30:51 -07:00 |
|
llogiq
|
9a3dcaabe8
|
fixed renaming of rustc::middle::ty enums
|
2015-06-15 13:27:24 +02:00 |
|
llogiq
|
30de91d3e9
|
moved in_macro to (new) utils.rs
|
2015-06-01 22:30:34 +02:00 |
|
llogiq
|
1ee2e4ffe8
|
Fixed block check, also added macro test to collapsible_if and inline_always
|
2015-06-01 15:09:17 +02:00 |
|
llogiq
|
cd2e621c60
|
made in_macro distinguish intra-crate and extra-crate macros, as the latter have no working source (note: may fail in the face of compiler plugins doing whatever they like with spans), also one more run-pass test
|
2015-05-26 13:52:40 +02:00 |
|
llogiq
|
0d651c72ff
|
made macro test even simpler, added a few tests
|
2015-05-26 01:45:15 +02:00 |
|
llogiq
|
a67e0f6e2f
|
first prototype of macro expn detection in mut_mut.rs
|
2015-05-25 07:22:41 +02:00 |
|
llogiq
|
0ed8e4e968
|
another refactoring, using more fitting Option methods, improving formatting, etc.
|
2015-05-23 00:49:13 +02:00 |
|
llogiq
|
158935a38d
|
refactored Option usage and fn argument types, improved formatting
|
2015-05-21 15:59:58 +02:00 |
|
llogiq
|
5556d89f56
|
removed ty_ptr match
|
2015-05-18 11:36:56 +02:00 |
|
llogiq
|
b9414637e2
|
better messages
|
2015-05-18 10:52:43 +02:00 |
|
llogiq
|
1f8453ab73
|
mut_mut now more robust (thanks to Manishearth, see issue #9)
|
2015-05-18 10:41:15 +02:00 |
|
llogiq
|
96bfade4f1
|
New lint: mut_mut (closes issue #9)
|
2015-05-18 09:02:24 +02:00 |
|