Matthew Kraai
|
753c39672e
|
Use lint pass macros
Fixes #3917.
|
2019-04-17 09:35:22 -07:00 |
|
Andy Russell
|
fe96ffeac9
|
move lint documentation into macro invocations
|
2019-03-05 18:45:08 -05:00 |
|
Matthias Krüger
|
e9e0a7e3bd
|
rustup https://github.com/rust-lang/rust/pull/57726
|
2019-01-27 01:42:34 +01:00 |
|
Philipp Hansch
|
38d4ac7cea
|
Remove all copyright license headers
Discussion previously happened in https://github.com/rust-lang/rust/pull/43498
|
2019-01-08 21:46:39 +01:00 |
|
Konrad Borowski
|
3f62fc3a7e
|
Remove crate:: prefixes from crate paths
This is somewhat misleading, as those are actually external crates,
and don't need a crate:: prefix.
|
2018-12-29 16:05:49 +01:00 |
|
flip1995
|
1751d2496d
|
Run rustfmt on clippy_lints
|
2018-11-27 21:14:15 +01:00 |
|
flip1995
|
4e74eef6e9
|
Add applicability level to (nearly) every span_lint_and_sugg function
|
2018-11-27 15:29:23 +01:00 |
|
flip1995
|
9096269610
|
Add Applicability::Unspecified to span_lint_and_sugg functions
|
2018-11-27 15:29:23 +01:00 |
|
Matthias Krüger
|
fd2f6dd382
|
new_ret_no_self: add sample from #3313 to Known Problems section.
fix trivial typo on the way
|
2018-10-18 23:37:43 +02:00 |
|
Manish Goregaokar
|
e9c025ea70
|
Add license header to Rust files
|
2018-10-06 09:43:08 -07:00 |
|
Eduard-Mihai Burtescu
|
9219fc6c5c
|
Reintroduce extern crate for non-Cargo dependencies.
|
2018-09-15 11:10:51 +03:00 |
|
Manish Goregaokar
|
20dfaf7842
|
declare_lint -> declare_tool_lint
|
2018-08-31 00:34:48 -07:00 |
|
Corey Farwell
|
f42442b6e0
|
dont deref
|
2018-08-29 09:07:09 -05:00 |
|
Corey Farwell
|
53928d5367
|
clippy suggestion
|
2018-08-29 08:27:32 -05:00 |
|
Corey Farwell
|
6445a5d79d
|
derive copy/clone
|
2018-08-29 08:01:05 -05:00 |
|
Corey Farwell
|
9a8f206662
|
eof newline
|
2018-08-29 07:43:40 -05:00 |
|
Corey Farwell
|
2a486528ee
|
utilize carrier
|
2018-08-29 07:42:43 -05:00 |
|
Corey Farwell
|
2fa7351c1e
|
suggest wrapping_offset as well
|
2018-08-29 07:40:00 -05:00 |
|
Corey Farwell
|
61c20c148e
|
if no suggestion, dont add suggestion
|
2018-08-29 07:12:22 -05:00 |
|
Corey Farwell
|
f7d1ef90a0
|
utilize .is_unsafe_ptr
|
2018-08-29 07:08:59 -05:00 |
|
Corey Farwell
|
a48a6ef10f
|
utilize cx.tcx.types.usize
|
2018-08-29 07:07:23 -05:00 |
|
Corey Farwell
|
a7c1ea96c4
|
tweak comment
|
2018-08-29 07:03:50 -05:00 |
|
Corey Farwell
|
feb3e9fd5f
|
switch lint from 'style' to 'complexity'
|
2018-08-29 07:02:26 -05:00 |
|
Corey Farwell
|
5ebae01c1e
|
New lint: Suggest ptr.add([usize]) over ptr.offset([usize] as isize) .
First part of #3047.
|
2018-08-28 23:21:29 -05:00 |
|