about summary refs log tree commit diff
path: root/src/librustc_error_codes/error_codes
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2020-02-07 13:23:33 +0100
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2020-02-07 13:23:33 +0100
commit26020f506338add6fec610ad8c2cb64c28546cbe (patch)
treec69e4dee0af5bbe5e360b588525b48c64e3fdcfd /src/librustc_error_codes/error_codes
parent320ada6479b3e29c7d9a66bc56ac44c2d2b57566 (diff)
clean up E0276 explanation
Diffstat (limited to 'src/librustc_error_codes/error_codes')
-rw-r--r--src/librustc_error_codes/error_codes/E0276.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/librustc_error_codes/error_codes/E0276.md b/src/librustc_error_codes/error_codes/E0276.md
index 0e3a613bf9c..ad76968c589 100644
--- a/src/librustc_error_codes/error_codes/E0276.md
+++ b/src/librustc_error_codes/error_codes/E0276.md
@@ -1,5 +1,6 @@
-This error occurs when a bound in an implementation of a trait does not match
-the bounds specified in the original trait. For example:
+A trait implementation has stricter requirements than the trait definition.
+
+Erroneous code example:
 
 ```compile_fail,E0276
 trait Foo {