rust/tests
bors f9c1d155b4 Auto merge of #10716 - Icxolu:unitstruct_default_construction, r=Manishearth
Fixes #10609: Adds lint to detect construction of unit struct using `default`

Using `default` to construct a unit struct increases code complexity and adds a function call. This can be avoided by simply removing the call to `default` and simply construct by name.

changelog: [`default_constructed_unit_structs`]: detects construction of unit structs using `default`

fixes #10609
2023-05-03 21:43:02 +00:00
..
test_utils
ui Auto merge of #10716 - Icxolu:unitstruct_default_construction, r=Manishearth 2023-05-03 21:43:02 +00:00
ui-cargo Update to a compiletest-rs version that requires //@ for commands 2023-04-20 14:44:03 +00:00
ui-internal Update to a compiletest-rs version that requires //@ for commands 2023-04-20 14:44:03 +00:00
ui-toml Auto merge of #10656 - Centri3:master, r=xFrednet 2023-04-25 20:12:00 +00:00
workspace_test
check-fmt.rs
clippy.toml
compile-test.rs Update to a compiletest-rs version that requires //@ for commands 2023-04-20 14:44:03 +00:00
dogfood.rs Fix dogfood test 2023-04-23 03:44:24 -07:00
integration.rs
lint_message_convention.rs
missing-test-files.rs
versioncheck.rs
workspace.rs