Eduard-Mihai Burtescu
|
30c046ede4
|
Use 'tcx for references to AccessLevels wherever possible.
|
2020-07-03 00:04:48 +03:00 |
|
Matthias Krüger
|
f9c1acbc45
|
rustup https://github.com/rust-lang/rust/pull/71215/
|
2020-04-24 15:29:31 +02:00 |
|
Eduardo Broto
|
b7f85e8706
|
Apply suggestions from PR review
* Move the lint to pedantic
* Import used types instead of prefixing with `hir::`
|
2020-04-20 20:05:15 +02:00 |
|
Eduardo Broto
|
00b4f2819f
|
Implement unsafe_derive_deserialize lint
|
2020-04-19 23:26:17 +02:00 |
|
bors
|
6dcc8d5038
|
Auto merge of #5141 - xiongmao86:issue5095, r=flip1995
Fixes issue 5095
fixes #5095.
- [x] Followed [lint naming conventions][lint_naming]
- [x] Added passing UI tests (including committed `.stderr` file)
- [x] `cargo test` passes locally
- [x] Executed `cargo dev update_lints`
- [x] Added lint documentation
- [x] Run `cargo dev fmt`
[lint_naming]: https://rust-lang.github.io/rfcs/0344-conventions-galore.html#lints
changelog: (internal) warn about collapsible `span_lint_and_then` calls.
|
2020-04-19 19:19:54 +00:00 |
|
Philipp Hansch
|
c3c00e5028
|
Cleanup: node_id -> hir_id
|
2020-04-19 17:04:14 +02:00 |
|
xiongmao86
|
d7f1a1ed2b
|
Change note_span argument for span_lint_and_note.
|
2020-04-18 18:29:36 +08: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 |
|
Matthias Krüger
|
8177e49e10
|
rustup https://github.com/rust-lang/rust/pull/70344
|
2020-03-27 20:41:35 +01:00 |
|
flip1995
|
8472ecda0f
|
Fix fallout
|
2020-02-21 11:14:18 +01:00 |
|
Yuki Okushi
|
e72f0e61c6
|
Rustup to rust-lang/rust#68204
|
2020-01-18 14:39:18 +09: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 |
|
Yuki Okushi
|
2f2eaf8b7e
|
Rustup to rust-lang/rust#67886
|
2020-01-07 01:46:33 +09:00 |
|
Philipp Hansch
|
c5178e82b4
|
Rustup to https://github.com/rust-lang/rust/pull/67853
Specifically caused by https://github.com/rust-lang/rust/pull/67786
|
2020-01-04 11:30:03 +01:00 |
|
Yuki Okushi
|
a4c201e6b4
|
Rustup to rust-lang/rust#66942
|
2019-12-30 13:02:10 +09:00 |
|
flip1995
|
9632e27487
|
Add <'_> where necessary
|
2019-12-22 15:42:41 +01:00 |
|
Matthias Krüger
|
98e433d70d
|
Rustup to rust-lang/rust#66878
|
2019-12-04 01:34:01 +01:00 |
|
Philipp Hansch
|
78b7e8544b
|
Fix false positive in derive_hash_xor_eq
This fixes a false positive in derive_hash_xor_eq where the lint was
triggering on user-defined traits called `Hash`.
|
2019-11-11 07:59:53 +01:00 |
|
flip1995
|
4bbd10a585
|
Rustup to rust-lang/rust#64813
|
2019-09-27 17:21:20 +02:00 |
|
Matthias Krüger
|
e59d619981
|
rustup https://github.com/rust-lang/rust/pull/64515
changelog: none
|
2019-09-26 18:34:43 +02:00 |
|
Lzu Tao
|
a7b7e19f49
|
Rustup https://github.com/rust-lang/rust/pull/64513
|
2019-09-26 16:03:36 +07:00 |
|
Philipp Hansch
|
1dc9a5012e
|
Doctests: Enable running doc tests for pedantic lints
|
2019-08-03 20:36:38 +02:00 |
|
Lzu Tao
|
7293defb34
|
Rename hir::map::local_def_id_from_hir_id to local_def_id
|
2019-07-06 10:52:51 +07:00 |
|
Matthias Krüger
|
4d984dc6e6
|
rustup https://github.com/rust-lang/rust/pull/61836/
|
2019-06-18 11:15:47 +02:00 |
|
Oliver Scherer
|
f7f85a0dca
|
Prevent symbocalypse
|
2019-05-17 23:53:54 +02:00 |
|
Oliver Scherer
|
b2dbda4d48
|
Use symbols instead of strings
|
2019-05-14 10:33:42 +02:00 |
|
Matthew Kraai
|
753c39672e
|
Use lint pass macros
Fixes #3917.
|
2019-04-17 09:35:22 -07:00 |
|
Andy Russell
|
a9de64a151
|
fix or ignore failing doc tests
|
2019-03-05 18:45:08 -05:00 |
|
Andy Russell
|
fe96ffeac9
|
move lint documentation into macro invocations
|
2019-03-05 18:45:08 -05:00 |
|
ljedrz
|
f3363b9cf2
|
align with rust-lang/rust/#58836
|
2019-03-01 19:10:14 +01: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 |
|
Matthias Krüger
|
f13d23de41
|
rustup https://github.com/rust-lang/rust/pull/56502 ( .hir -> .hir() )
|
2018-12-08 12:05:09 +01:00 |
|
flip1995
|
1751d2496d
|
Run rustfmt on clippy_lints
|
2018-11-27 21:14:15 +01: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 |
|
flip1995
|
8c07772dbb
|
Switch to declare_tool_lint macro
|
2018-08-29 11:08:29 -07:00 |
|
Oliver Schneider
|
d99cea0f16
|
Update imports and rustup
|
2018-08-28 13:13:42 +02:00 |
|
Matthias Krüger
|
712d2d4fa1
|
rustup, fix breakage introduced by https://github.com/rust-lang/rust/pull/53581
|
2018-08-22 23:34:52 +02:00 |
|
Manish Goregaokar
|
76321d3300
|
codemap -> source_map
https://github.com/rust-lang/rust/pull/52953
|
2018-08-19 19:06:54 -07:00 |
|
Manish Goregaokar
|
5918a3fc1e
|
Remove import of if_chain
|
2018-07-20 00:50:02 -07:00 |
|
Manish Goregaokar
|
5d74e2096b
|
Remove import of rustc
|
2018-07-19 00:53:23 -07:00 |
|
Oliver Schneider
|
6992937002
|
Update for hir renamings in rustc
|
2018-07-16 15:07:39 +02:00 |
|
Mateusz Mikuła
|
424a33720d
|
Run rustfix
|
2018-05-30 10:15:50 +02:00 |
|
Russell Cohen
|
4b3326efd0
|
Fix docs to match behavior
|
2018-04-06 22:44:25 -07:00 |
|
Oliver Schneider
|
d6344c47e3
|
Categorize all the lints!
|
2018-03-28 15:24:26 +02:00 |
|