Eduardo Broto
|
cdb555f4fc
|
Merge commit 'bf1c6f9871f430e284b17aa44059e0d0395e28a6' into clippyup
|
2020-10-23 22:16:59 +02:00 |
|
flip1995
|
a12828a80a
|
Merge commit '5034d47f721ff4c3a3ff2aca9ef2ef3e1d067f9f' into clippyup
|
2020-09-10 17:47:07 +02:00 |
|
LeSeulArtichaut
|
28f9b84042
|
ty.kind -> ty.kind() in rustdoc and clippy
|
2020-09-04 18:27:33 +02:00 |
|
flip1995
|
282c59820b
|
Merge commit '3d0b0e66afdfaa519d8855b338b35b4605775945' into clippyup
|
2020-08-28 18:43:25 +02:00 |
|
Ujjwal Sharma
|
ae0eb390b0
|
rust_ast::ast => rustc_ast
|
2020-08-17 20:32:32 +00:00 |
|
flip1995
|
027780ca2c
|
Merge commit '09bd400243ed6f7059fedc0c1623aae3792521d6' into clippyup
|
2020-08-11 17:50:45 +02:00 |
|
Ryan Wiedemann
|
49c7e39d03
|
Apply suggestions from code review
Co-authored-by: Philipp Krones <hello@philkrones.com>
|
2020-08-06 07:57:31 -06:00 |
|
Ryan1729
|
42f3d39a54
|
run clippy_dev fmt
This seemed to overdo it a bit, affecting multiple submodules, and changing a file I didn't touch, so I didn't commit those changes
|
2020-08-06 06:15:57 -06:00 |
|
Ryan1729
|
8997c558d8
|
change filter to assert, and update comments
|
2020-08-06 04:24:25 -06:00 |
|
Ryan1729
|
94340d6e17
|
add documentation to functions that call do_check and add a test against lint ordering changing
|
2020-08-06 04:24:25 -06:00 |
|
Ryan1729
|
19f36bc2f3
|
add description to assert
|
2020-08-06 04:24:25 -06:00 |
|
Ryan1729
|
d38766ed96
|
address some review comments
|
2020-08-06 04:24:25 -06:00 |
|
Ryan1729
|
ccc4747f46
|
get the expected number of errors by acknowledging that other lints are covering the same ground
|
2020-08-06 04:24:25 -06:00 |
|
Ryan1729
|
de05212987
|
try putting the can_be_expressed_as_pointer_cast at the top and find that we still get an ICE
|
2020-08-06 04:24:24 -06:00 |
|
Ryan1729
|
34d3a0086c
|
accidentally cause an ICE by putting the TRANSMUTES_EXPRESSIBLE_AS_PTR_CASTS handling after the match
The reason I did this in the first place was to try and figure out why I don't see my expected 7 error messages
|
2020-08-06 04:24:24 -06:00 |
|
Ryan1729
|
069f851671
|
initial compiling version of TRANSMUTES_EXPRESSIBLE_AS_PTR_CASTS
|
2020-08-06 04:24:24 -06:00 |
|
Ryan1729
|
5e84b8c2fb
|
run cargo dev new_lint then move transmutes_expressible_as_ptr_casts into transmute module
|
2020-08-06 04:24:24 -06:00 |
|
Valentin Lazureanu
|
5a20489c5c
|
Rename TypeckTables to TypeckResults.
|
2020-07-17 08:47:04 +00:00 |
|
Eduard-Mihai Burtescu
|
30c046ede4
|
Use 'tcx for references to AccessLevels wherever possible.
|
2020-07-03 00:04:48 +03:00 |
|
Eduard-Mihai Burtescu
|
590e07bbc2
|
rustc_lint: avoid using TypeckTables::empty for LateContext.
|
2020-07-02 16:51:04 +03:00 |
|
Eduard-Mihai Burtescu
|
f5ce0e5fe9
|
rustc_lint: only query typeck_tables_of when a lint needs it.
|
2020-06-26 02:56:23 +03:00 |
|
Lzu Tao
|
8db24840f7
|
Merge commit 'ff0993c5e9162ddaea78e83d0f0161e68bd4ea73' into clippy
|
2020-06-09 14:36:01 +00:00 |
|
xiongmao86
|
d03d3bd95b
|
Fixes internal lint warning in code base.
|
2020-04-18 18:20:46 +08:00 |
|
Philipp Hansch
|
870ae36f85
|
Cleanup: Rename 'db' variable to 'diag'
|
2020-04-17 08:08:00 +02:00 |
|
Matthias Krüger
|
aff57e0f43
|
rustup https://github.com/rust-lang/rust/pull/70536
|
2020-03-30 11:17:58 +02:00 |
|
flip1995
|
13fcee51e7
|
Move useless_transmute to nursery
|
2020-03-23 20:32:04 +01:00 |
|
Yuki Okushi
|
4253aa7137
|
Rustup to rust-lang/rust#69592
|
2020-03-01 12:23:33 +09:00 |
|
flip1995
|
8472ecda0f
|
Fix fallout
|
2020-02-21 11:14:18 +01:00 |
|
Yuki Okushi
|
ce1c6b285d
|
Rustup to rust-lang/rust#68045
|
2020-01-13 21:55:57 +09:00 |
|
Yuki Okushi
|
39947992b5
|
Rustup to rust-lang/rust#67806
|
2020-01-11 21:50:00 +09:00 |
|
Krishna Sai Veera Reddy
|
b793cf09f2
|
Move transmute_float_to_int lint to complexity
`transmute_float_to_int` lint was accidentally added to nursery
so moving it to the complexity group.
|
2020-01-07 15:53:19 -08:00 |
|
Yuki Okushi
|
2f2eaf8b7e
|
Rustup to rust-lang/rust#67886
|
2020-01-07 01:46:33 +09:00 |
|
Yuki Okushi
|
bf67fcf5a9
|
Move is_normalizable into utils
|
2020-01-02 11:48:06 +09:00 |
|
Yuki Okushi
|
f922812541
|
Fix ICE due to normalization failure
|
2019-12-31 20:55:11 +09:00 |
|
Yuki Okushi
|
a4c201e6b4
|
Rustup to rust-lang/rust#66942
|
2019-12-30 13:02:10 +09:00 |
|
Yuki Okushi
|
e2636729ec
|
Rustup to rust-lang/rust#66936
|
2019-12-27 16:13:53 +09:00 |
|
Lzu Tao
|
d1ca5f1d7c
|
rustup "Merge ast::Mutability and mir::Mutability "
|
2019-12-21 18:38:45 +00:00 |
|
Krishna Veera Reddy
|
c77fc06d52
|
Add lint to detect transmutes from float to integer
Add lint that detects transmutation from a float to an integer
and suggests usage of `{f32, f64}.to_bits()` instead.
|
2019-12-07 16:33:49 -08:00 |
|
Matthias Krüger
|
98e433d70d
|
Rustup to rust-lang/rust#66878
|
2019-12-04 01:34:01 +01:00 |
|
Manish Goregaokar
|
e9a3e54910
|
MutImmutable -> Immutable, MutMutable -> Mutable, CaptureClause -> CaptureBy
|
2019-11-11 10:58:39 -08:00 |
|
flip1995
|
e917b01286
|
Rustup to rust-lang/rust#65884
|
2019-11-07 13:27:00 +01:00 |
|
Andre Bogus
|
27fa2b7944
|
New lint: unsound_collection_transmute
|
2019-10-02 21:18:00 +02:00 |
|
flip1995
|
4bbd10a585
|
Rustup to rust-lang/rust#64813
|
2019-09-27 17:21:20 +02:00 |
|
Lzu Tao
|
a7b7e19f49
|
Rustup https://github.com/rust-lang/rust/pull/64513
|
2019-09-26 16:03:36 +07:00 |
|
Philipp Hansch
|
abfa8a952c
|
Doctests: Fix all complexity lint docs
cc #4319
|
2019-08-02 18:16:35 +02:00 |
|
Oliver Scherer
|
f7f85a0dca
|
Prevent symbocalypse
|
2019-05-17 23:53:54 +02:00 |
|
Oliver Scherer
|
dfbc74b08b
|
Rustfmt all the things
|
2019-05-14 10:33:48 +02:00 |
|
Oliver Scherer
|
b2dbda4d48
|
Use symbols instead of strings
|
2019-05-14 10:33:42 +02:00 |
|
Matthias Krüger
|
d618637c05
|
Rustup to rustc 1.36.0-nightly (13fde05b1 2019-05-03)
|
2019-05-03 22:28:34 -07:00 |
|
Matthew Kraai
|
753c39672e
|
Use lint pass macros
Fixes #3917.
|
2019-04-17 09:35:22 -07:00 |
|