Commit e6baff4
authored
[meta] migrate to 2024 edition (#9398)
Did this by:
* running `cargo fix --edition`
* manually reverting the changes from `match` to `if let`
* inspecting the rest of the changes
Due to drop order changes outlined
[here](https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html)
and
[here](https://doc.rust-lang.org/edition-guide/rust-2024/temporary-if-let-scope.html),
this change is not as risk-free as I would like (potentially causing
future cancellation issues, or maybe resolving latent ones). But
hopefully a full release cycle would be enough time to bake these
changes.1 parent 8a4860b commit e6baff4
File tree
273 files changed
+698
-634
lines changed- api_identity
- bootstore
- certificates
- src
- clickhouse-admin
- api
- src
- test-utils
- types
- src
- clients
- bootstrap-agent-client
- clickhouse-admin-keeper-client
- clickhouse-admin-server-client
- clickhouse-admin-single-client
- cockroach-admin-client
- ddm-admin-client
- src
- dns-service-client
- gateway-client
- installinator-client
- nexus-client
- src
- nexus-lockstep-client
- ntp-admin-client
- oxide-client
- oximeter-client
- repo-depot-client
- sled-agent-client
- src
- wicketd-client
- cockroach-admin
- api
- types
- cockroach-metrics
- src
- common
- src
- api
- external
- internal
- dev-tools
- cert-dev
- ch-dev
- clickana
- clickhouse-cluster-dev
- common
- crdb-seed
- db-dev
- downloader
- dropshot-apis
- ls-apis
- src
- mgs-dev
- omdb
- src/bin/omdb
- db
- mgs
- tests
- omicron-dev-lib
- omicron-dev
- oxlog
- pins
- reconfigurator-cli
- src
- reconfigurator-exec-unsafe
- reconfigurator-sp-updater
- releng
- repl-utils
- repo-depot-standalone
- src
- xtask
- dns-server-api
- dns-server
- src
- docs
- end-to-end-tests
- ereport/types
- gateway-api
- gateway-cli
- gateway-test-utils
- gateway-types
- gateway
- illumos-utils
- src
- installinator-api
- installinator-common
- src
- installinator
- src
- internal-dns
- cli
- resolver
- src
- types
- ipcc
- key-manager
- live-tests
- macros
- nexus-config
- nexus
- authz-macros
- auth
- background-task-interface
- db-errors
- db-fixed-data
- db-lookup
- db-macros
- outputs
- src
- db-model
- src
- db-queries
- src/db
- datastore
- deployment
- multicast
- pub_test_utils
- queries
- db-schema
- src
- defaults
- external-api
- internal-api
- inventory
- lockstep-api
- macros-common
- metrics-producer-gc
- mgs-updates
- networking
- reconfigurator
- blippy
- src
- cli-integration-tests
- execution
- planning
- src
- blueprint_builder
- preparation
- src
- rendezvous
- simulation
- src
- saga-recovery
- src
- app
- background/tasks
- sagas
- instance_update
- internal_api
- test-interface
- test-utils-macros
- test-utils
- tests/integration_tests
- types
- src
- deployment
- external_api
- internal_api
- ntp-admin
- api
- types
- oximeter
- api
- collector
- db
- src
- client
- model
- sql
- instruments
- src
- oximeter-macro-impl
- oximeter
- oxql-types
- producer
- schema
- test-utils
- timeseries-macro
- types
- src
- package
- parallel-task-set
- passwords
- src
- range-requests
- rpaths
- sled-agent
- api
- bootstrap-agent-api
- config-reconciler
- repo-depot-api
- src
- common
- sim
- types
- zone-images-examples
- zone-images
- sled-diagnostics
- src
- sled-hardware
- types
- sled-storage
- zfs-test-harness
- sp-sim
- test-utils
- src/dev
- trust-quorum
- gfss
- protocol
- src
- test-utils
- tqdb
- typed-rng
- update-common
- src/artifacts
- update-engine
- examples/update-engine-basic
- src
- uuid-kinds
- wicket-common
- src
- wicket-dbg
- src/bin
- wicketd-api
- wicketd
- src
- wicket
- src
- workspace-hack
- zone-setup
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
273 files changed
+698
-634
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
321 | 321 | | |
322 | 322 | | |
323 | 323 | | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
324 | 327 | | |
325 | 328 | | |
326 | 329 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
| 53 | + | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
141 | | - | |
| 140 | + | |
| 141 | + | |
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| |||
499 | 499 | | |
500 | 500 | | |
501 | 501 | | |
502 | | - | |
| 502 | + | |
503 | 503 | | |
504 | | - | |
| 504 | + | |
505 | 505 | | |
506 | 506 | | |
507 | 507 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
| 123 | + | |
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
| 133 | + | |
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
0 commit comments