From daaff44cbc25c35fbe59878bef315252fbba8a62 Mon Sep 17 00:00:00 2001 From: ritik chahar Date: Sat, 31 Jan 2026 10:46:58 +0530 Subject: [PATCH] Fix tidy formatting manually for E0423.md --- compiler/rustc_error_codes/src/error_codes/E0423.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/compiler/rustc_error_codes/src/error_codes/E0423.md b/compiler/rustc_error_codes/src/error_codes/E0423.md index eb5243b59847..4af17b1221b9 100644 --- a/compiler/rustc_error_codes/src/error_codes/E0423.md +++ b/compiler/rustc_error_codes/src/error_codes/E0423.md @@ -45,15 +45,13 @@ fn h1() -> i32 { } ``` - - ### Enum types used as values Enums are types and cannot be used directly as values. ```compile_fail,E0423 -fn main() { +fn main(){ let x = Option::; - //~^ ERROR expected value, found enum `Option` + //~^ ERROR expected value,found enum `Option` } -``` \ No newline at end of file +```