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-10 18:51:14 +0800
committerGitHub <noreply@github.com>2020-08-10 18:51:14 +0800
commitec23f4ed3fdb7f09a4398a32eaf486da22bd3ae9 (patch)
treed6163ddbf8f09022121d82e159e40186cae4d708 /src/librustc_error_codes/error_codes
parent13290e83a6e20f3b408d177a9d64d8cf98fe4615 (diff)
downloadrust-ec23f4ed3fdb7f09a4398a32eaf486da22bd3ae9.tar.gz
rust-ec23f4ed3fdb7f09a4398a32eaf486da22bd3ae9.zip
Add sample fix for E0749
Even though the description is clear but the solution may not be as straightforward.
Adding a suggested fix.
Diffstat (limited to 'src/librustc_error_codes/error_codes')
-rw-r--r--src/librustc_error_codes/error_codes/E0749.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustc_error_codes/error_codes/E0749.md b/src/librustc_error_codes/error_codes/E0749.md
index 7a1a745b53c..74cd2903f6d 100644
--- a/src/librustc_error_codes/error_codes/E0749.md
+++ b/src/librustc_error_codes/error_codes/E0749.md
@@ -11,6 +11,7 @@ trait MyTrait {
 impl !MyTrait for u32 {
     type Foo = i32; // error!
 }
+// impl !MyTrait for u32 {} // fix
 # fn main() {}
 ```