about summary refs log tree commit diff
path: root/src/librustc_error_codes/error_codes
diff options
context:
space:
mode:
authorIvan Tham <pickfire@riseup.net>2020-08-11 01:06:30 +0800
committerGitHub <noreply@github.com>2020-08-11 01:06:30 +0800
commita7f61bf3bb416f03da478bbe2421946ef9b80379 (patch)
treee556ab4861ae9ea82946b0e8974191938850ea85 /src/librustc_error_codes/error_codes
parent8cb1a2f8a2a3fe9dce850e512c003bffd7786ab6 (diff)
downloadrust-a7f61bf3bb416f03da478bbe2421946ef9b80379.tar.gz
rust-a7f61bf3bb416f03da478bbe2421946ef9b80379.zip
Remove empty fn main from E0749
Diffstat (limited to 'src/librustc_error_codes/error_codes')
-rw-r--r--src/librustc_error_codes/error_codes/E0749.md1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/librustc_error_codes/error_codes/E0749.md b/src/librustc_error_codes/error_codes/E0749.md
index 5b6bfe75cfc..dfe90ae89e4 100644
--- a/src/librustc_error_codes/error_codes/E0749.md
+++ b/src/librustc_error_codes/error_codes/E0749.md
@@ -11,7 +11,6 @@ trait MyTrait {
 impl !MyTrait for u32 {
     type Foo = i32; // error!
 }
-# fn main() {}
 ```
 
 Negative impls are not allowed to have any items. Negative impls declare that a