Skip to content

Commit a7f61bf

Browse files
authored
Remove empty fn main from E0749
1 parent 8cb1a2f commit a7f61bf

File tree

1 file changed

+0
-1
lines changed
  • src/librustc_error_codes/error_codes

1 file changed

+0
-1
lines changed

src/librustc_error_codes/error_codes/E0749.md

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ trait MyTrait {
1111
impl !MyTrait for u32 {
1212
type Foo = i32; // error!
1313
}
14-
# fn main() {}
1514
```
1615

1716
Negative impls are not allowed to have any items. Negative impls declare that a

0 commit comments

Comments
 (0)