Philipp Krones
3d60241841
Merge remote-tracking branch 'upstream/master' into rustup
2023-07-28 23:44:28 +02:00
Caio
f0a16bb8a3
[significant_drop_tightening] Fix #11189
2023-07-20 09:04:08 -03:00
Philipp Krones
d6d530fd0b
Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup
2023-07-17 10:22:32 +02:00
Caio
1f82f6ddf3
[significant_drop_tightening] Fix #11160
2023-07-14 13:51:34 -03:00
Mahdi Dibaiee
fdb2e363d3
refactor(rustc_middle): Substs -> GenericArg
2023-07-14 13:27:35 +01:00
Alex Macleod
2811effe34
Add imports_granularity = "Module"
to rustfmt.toml
2023-07-13 12:44:57 +00:00
Caio
6384221910
Dogfood
2023-07-08 18:08:48 -03:00
Caio
2be695bf29
[significant_drop_tightening] Fix #11128
2023-07-08 17:43:34 -03:00
Philipp Krones
cb3ecf7b79
Merge commit '37f4c1725d3fd7e9c3ffd8783246bc5589debc53' into clippyup
2023-07-02 14:59:02 +02:00
Caio
fc832f0eb7
Dogfood
2023-06-29 09:30:04 -03:00
Caio
f0619024b8
Fix #10413
2023-06-29 09:27:49 -03:00
Jason Newcomb
949712c90a
Reborrow mutable references in explicit_iter_loop
2023-06-09 21:40:03 -04:00
Philipp Krones
a1b75c5108
Merge commit 'a3ed905928a03b6e433d0b429190bf3a847128b3' into clippyup
2023-04-23 13:28:56 +02:00
Arpad Borsos
7077bde9d2
Fix typo in significant_drop_tightening
2023-04-20 20:59:59 +02:00
xFrednet
747ff0656b
Update version attribute for 1.69 lints
2023-04-19 14:55:18 +02:00
Philipp Krones
8df896c076
Merge commit 'd5e2a7aca55ed49fc943b7a07a8eba05ab5a0079' into clippyup
2023-03-24 14:26:19 +01:00
Philipp Krones
62cba5d971
Merge remote-tracking branch 'upstream/master' into rustup
2023-03-24 13:36:09 +01:00
Nilstrieb
966d5b0e34
Cache has_sig_drop_attr
for significant_drop_tightening
...
The lint is very slow as it doesn't cache the deeply nested check for
the attribute. If we cache it, we can reduce the time spent on checking
`rustc_borrowck` from 28s to 9s, which is a nice improvement. In the
profile, the time inside `has_sig_drop_attr` goes from 66% to 0.2%,
which is a lot more reasonable.
See the PR for nice graphs.
2023-03-22 22:22:16 +01:00
clubby789
f2eddc5924
Remove box expressions from HIR
2023-03-14 17:18:26 +00:00
Jason Newcomb
0413fb35ba
Merge commit '149392b0baa4730c68f3c3eadf5c6ed7b16b85a4' into clippyup
2023-02-25 19:28:50 -05:00
Caio
7518969501
Evaluate the return expression of a block
2023-02-18 09:14:41 -03:00
Caio
747f81ecd0
[significant_drop_tightening] Ignore inexpensive statements
2023-02-16 18:34:33 -03:00
Caio
1b286b128b
Address comments
2023-02-12 16:17:37 -03:00
Caio
078f149aa4
[significant_drop_tightening] Add MVP
2023-02-10 15:07:34 -03:00