Urgau
c1144436f6
Make synstructure underscore_const(true) the default
...
since otherwise it will trigger the non_local_definitions lint
2024-02-17 13:57:33 +01:00
surechen
40ae34194c
remove redundant imports
...
detects redundant imports that can be eliminated.
for #117772 :
In order to facilitate review and modification, split the checking code and
removing redundant imports code into two PR.
2023-12-10 10:56:22 +08:00
Michael Goulet
c9143ea1d9
Unify HashStable implementations
2023-11-21 05:49:45 +00:00
Michael Goulet
426bc70ad6
Add HashStable_NoContext to simplify HashStable implementations in rustc_type_ir
2023-11-21 05:49:44 +00:00
Nicholas Nethercote
dd6bab9eff
Factor out some duplicated code.
2023-11-10 10:54:26 +11:00
Nicholas Nethercote
b35e576657
Minor cleanups.
...
- Reduce some function exposure.
- Fix some comment formatting.
2023-11-10 10:54:26 +11:00
Deadbeef
af74ef8993
migrate rustc_macros to syn 2.0
2023-04-06 04:55:58 +00:00
Matthias Krüger
5c454551da
more clippy fixes
2021-11-07 16:59:05 +01:00
Matthias Krüger
4457014398
Revert "Auto merge of #89709 - clemenswasser:apply_clippy_suggestions_2, r=petrochenkov"
...
The PR had some unforseen perf regressions that are not as easy to find.
Revert the PR for now.
This reverts commit 6ae8912a3e
, reversing
changes made to 86d6d2b738
.
2021-10-15 11:28:23 +02:00
Clemens Wasser
71dd0b928b
Apply clippy suggestions
2021-10-10 15:38:19 +02:00
Camille GILLOT
02025d86ac
Remove re-export.
2021-10-03 16:08:54 +02:00
hi-rustin
88abd7d81d
Lint for unused borrows as part of UNUSED_MUST_USE
2021-06-18 15:09:40 +08:00
Camille GILLOT
84bf599bac
Add inlining.
2021-03-11 12:24:43 +01:00
mark
9e5f7d5631
mv compiler to compiler/
2020-08-30 18:45:07 +03:00