From 26020f506338add6fec610ad8c2cb64c28546cbe Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Fri, 7 Feb 2020 13:23:33 +0100 Subject: [PATCH] clean up E0276 explanation --- src/librustc_error_codes/error_codes/E0276.md | 5 +++-- 1 file 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 {