Serial
2c6f03d48b
Fix ICE in undocumented_unsafe_blocks
2021-11-07 14:28:30 -05:00
flip1995
1cc21db8c6
Merge remote-tracking branch 'upstream/master' into rustup
2021-11-04 12:03:28 +00:00
Andre Bogus
a4ede72b3d
update most tests to 2021 edition
2021-10-30 14:50:53 +02:00
Takayuki Nakata
35bf041c21
Fix ICE in undocumented_unsafe_blocks
2021-10-28 22:10:59 +09:00
Takayuki Nakata
73c026b73f
Add test case
2021-10-27 09:12:13 +09:00
xFrednet
7517ae2fb3
Refactored some string handling to prevent ICEs and FNs
2021-10-24 22:47:39 +02:00
Cameron Steffen
0a23fff82d
Fix clippy with changed macro statement spans
2021-10-15 02:36:58 -05:00
Oli Scherer
049ab82662
Update clippy ui output
2021-10-13 11:06:14 +00:00
flip1995
5cf4984872
Merge commit 'b7f3f7f6082679da2da9a0b3faf1b5adef3afd3b' into clippyup
2021-10-07 11:21:30 +02:00
Cameron Steffen
9c2d52fabe
Add desugaring mark to while loop
2021-10-02 17:41:14 -05:00
lcnr
fd8b150959
feature(const_generics)
-> feature(const_param_types)
2021-08-30 11:00:21 +02:00
Caio
b97d4c062b
Introduce hir::ExprKind::Let - Take 2
2021-08-15 16:18:26 -03:00
Guillaume Gomez
fd5427b686
Rollup merge of #87885 - m-ou-se:edition-guide-links, r=rylev
...
Link to edition guide instead of issues for 2021 lints.
This changes the 2021 lints to not link to github issues, but to the edition guide instead.
Fixes #86996
2021-08-12 13:25:07 +02:00
Mara Bos
8e563b5468
Bless clippy tests.
2021-08-12 10:48:16 +02:00
Esteban Kuber
652b6a771f
update clippy
2021-08-11 14:21:33 +00:00
Esteban Küber
9a6ae783d4
Use multispan suggestions more often
...
* Use more accurate span for `async move` suggestion
* Use more accurate span for deref suggestion
* Use `multipart_suggestion` more often
2021-07-30 09:26:31 -07:00
flip1995
884ef4c287
Merge commit '4c41a222ca5d1325fb4b6709395bd06e766cc042' into clippyup
2021-07-19 11:52:05 +02:00
flip1995
1d084b13a5
Merge commit '54a20a02ecd0e1352a871aa0990bcc8b8b03173e' into clippyup
2021-07-15 10:44:10 +02:00
Ryan Levick
abc9a46868
Fix clippy test
2021-06-25 15:29:14 +02:00
flip1995
6c27482115
Merge commit '3ae8faff4d46ad92f194c2a4b941c3152a701b31' into clippyup
2021-06-03 08:41:37 +02:00
flip1995
97705b7ea6
Merge commit '9e3cd88718cd1912a515d26dbd9c4019fd5a9577' into clippyup
2021-05-20 13:07:57 +02:00
Aaron Hill
4698b366c4
Show macro name in 'this error originates in macro' message
...
When there are multiple macros in use, it can be difficult to tell
which one was responsible for producing an error.
2021-05-12 19:03:06 -04:00
flip1995
d605882023
Merge commit 'b71f3405606d49b9735606b479c3415a0ca9810f' into clippyup
2021-05-06 12:20:44 +02:00
bors
9735470bb4
Auto merge of #83213 - rylev:update-lints-to-errors, r=nikomatsakis
...
Update BARE_TRAIT_OBJECT and ELLIPSIS_INCLUSIVE_RANGE_PATTERNS to errors in Rust 2021
This addresses https://github.com/rust-lang/rust/pull/81244 by updating two lints to errors in the Rust 2021 edition.
r? `@estebank`
2021-05-04 08:09:23 +00:00
Ryan Levick
6ddd3c9e36
Fix clippy error
2021-04-29 18:37:22 +02:00
flip1995
ae72f1adb9
Merge commit '7c7683c8efe447b251d6c5ca6cce51233060f6e8' into clippyup
2021-04-27 16:55:11 +02:00
flip1995
02bf692169
Merge commit '98e2b9f25b6db4b2680a3d388456d9f95cb28344' into clippyup
2021-04-22 11:31:13 +02:00
lcnr
419bf6bbd8
fix suggestion for unsized function parameters
2021-04-19 20:06:19 +02:00
flip1995
f6d1f368db
Merge commit 'b40ea209e7f14c8193ddfc98143967b6a2f4f5c9' into clippyup
2021-04-08 17:50:13 +02:00
flip1995
f2f2a005b4
Merge commit '6ed6f1e6a1a8f414ba7e6d9b8222e7e5a1686e42' into clippyup
2021-03-12 15:30:50 +01:00
flip1995
f64149dd04
Merge commit '928e72dd10749875cbd412f74bfbfd7765dbcd8a' into clippyup
2021-02-25 11:25:22 +01:00
flip1995
ac912be984
Merge commit '95c0459217d1661edfa794c8bb122452b92fb485' into clippyup
2021-01-30 18:06:34 +01:00
bors
39aca5ff9f
Auto merge of #78399 - vn-ki:gsgdt-graphviz, r=oli-obk
...
make MIR graphviz generation use gsgdt
gsgdt [https://crates.io/crates/gsgdt ] is a crate which provides an
interface for stringly typed graphs. It also provides generation of
graphviz dot format from said graph.
This is the first in a series of PRs on moving graphviz code out of rustc into normal crates and then implementating graph diffing on top of these crates.
r? `@oli-obk`
2020-12-15 22:00:02 +00:00
Vishnunarayan K I
4e14c05976
fix clippy test
2020-12-05 20:21:21 +05:30
bors
3be53bc45a
Auto merge of #79329 - camelid:int-lit-suffix-error, r=davidtwco
...
Update error to reflect that integer literals can have float suffixes
For example, `1` is parsed as an integer literal, but it can be turned
into a float with the suffix `f32`. Now the error calls them "numeric
literals" and notes that you can add a float suffix since they can be
either integers or floats.
2020-11-30 01:42:14 +00:00
Camelid
2347eac4cc
Update error to reflect that integer literals can have float suffixes
...
For example, `1` is parsed as an integer literal, but it can be turned
into a float with the suffix `f32`. Now the error calls them "numeric
literals" and notes that you can add a float suffix since they can be
either integers or floats.
2020-11-27 19:08:24 -08:00
flip1995
284c359c61
Fix ICE in utils::implements_trait
...
This only happend when debug_assertions were enabled in rustc
2020-11-23 13:52:27 +01:00
flip1995
d3d2018ead
Merge commit '3e7c6dec244539970b593824334876f8b6ed0b18' into clippyup
2020-11-23 13:51:04 +01:00
bors
0c7a48c5f0
Auto merge of #78809 - vn-ki:fix-issue-76064, r=oli-obk
...
add error_occured field to ConstQualifs,
fix #76064
I wasn't sure what `in_return_place` actually did and not sure why it returns `ConstQualifs` while it's sibling functions return `bool`. So I tried to make as minimal changes to the structure as possible. Please point out whether I have to refactor it or not.
r? `@oli-obk`
cc `@RalfJung`
2020-11-14 18:03:17 +00:00
Vishnunarayan K I
7987f39ad5
update clippy test ouput
2020-11-13 17:11:13 +05:30
Fabian Zaiser
5f310d9b83
Implement destructuring assignment for structs and slices
...
Co-authored-by: varkor <github@varkor.com>
2020-11-11 12:10:52 +00:00
flip1995
34244190d4
Merge commit 'b20d4c155d2fe3a8391f86dcf9a8c49e17188703' into clippyup
2020-11-05 14:29:48 +01:00
Eduardo Broto
50419118b4
Merge commit '645ef505da378b6f810b1567806d1bcc2856395f' into clippyup
2020-10-28 23:36:07 +01:00
Eduardo Broto
cdb555f4fc
Merge commit 'bf1c6f9871f430e284b17aa44059e0d0395e28a6' into clippyup
2020-10-23 22:16:59 +02:00
varkor
fcde7683fe
Fix clippy tests
2020-10-22 13:23:14 +01:00
flip1995
fbf2430f02
Merge commit '2f6439ae6a6803d030cceb3ee14c9150e91b328b' into clippyup
2020-10-09 12:45:29 +02:00
flip1995
d1f9cad102
Merge commit 'e636b88aa180e8cab9e28802aac90adbc984234d' into clippyup
2020-09-24 14:49:22 +02:00
flip1995
282c59820b
Merge commit '3d0b0e66afdfaa519d8855b338b35b4605775945' into clippyup
2020-08-28 18:43:25 +02:00
flip1995
027780ca2c
Merge commit '09bd400243ed6f7059fedc0c1623aae3792521d6' into clippyup
2020-08-11 17:50:45 +02:00
Tamir Duberstein
cf91c54cc6
Avoid "whitelist"
...
Other terms are more inclusive and precise.
2020-07-10 07:39:28 -04:00