From a7f61bf3bb416f03da478bbe2421946ef9b80379 Mon Sep 17 00:00:00 2001 From: Ivan Tham Date: Tue, 11 Aug 2020 01:06:30 +0800 Subject: Remove empty fn main from E0749 --- src/librustc_error_codes/error_codes/E0749.md | 1 - 1 file changed, 1 deletion(-) (limited to 'src/librustc_error_codes/error_codes') 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 -- cgit 1.4.1-3-g733a5