Fix tidy formatting manually for E0423.md

This commit is contained in:
ritik chahar 2026-01-31 10:46:58 +05:30
parent 9cdcd0c3fa
commit daaff44cbc

View file

@ -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::<i32>;
//~^ ERROR expected value, found enum `Option`
//~^ ERROR expected value,found enum `Option`
}
```
```