rust/tests/ui-cargo/module_style
Devin Ragotzy 31738b1da3 Add module_style lint to restriction
Add tests for disallowed_mod in ui-cargo test section

Use correct algorithm to determine if mod.rs is missing

Move to two lints and remove config option

Switch lint names so they read "warn on ..."

Emit the same help info for self_named_mod_file warnings

Bail when both lints are Allow

Reword help message for both module_style lints
2021-08-24 15:53:58 -04:00
..
fail_mod Add module_style lint to restriction 2021-08-24 15:53:58 -04:00
fail_no_mod Add module_style lint to restriction 2021-08-24 15:53:58 -04:00
pass_mod Add module_style lint to restriction 2021-08-24 15:53:58 -04:00
pass_no_mod Add module_style lint to restriction 2021-08-24 15:53:58 -04:00