Auto merge of #11985 - Veykril:config-valid, r=Veykril
Auto merge of #11985 - Veykril:config-valid, r=Veykril

minor: Simplify config.rs a bit

rust-analyzer/rust-analyzer,rust-analyzer/rust-analyzer,rust-analyzer/rust-analyzer,rust-analyzer/rust-analyzer,rust-analyzer/rust-analyzer