diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-02-07 17:00:27 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-07 17:00:27 +0100 |
| commit | 9681544f38fa8ffb8a601330e7e96272c92bf38f (patch) | |
| tree | 19d46357695f6eb1b2fd0586d1a53bdccc19c5a0 /src | |
| parent | 88573a7f61b71cf00883d89941a8ebee260b4914 (diff) | |
| parent | 26020f506338add6fec610ad8c2cb64c28546cbe (diff) | |
| download | rust-9681544f38fa8ffb8a601330e7e96272c92bf38f.tar.gz rust-9681544f38fa8ffb8a601330e7e96272c92bf38f.zip | |
Rollup merge of #68928 - GuillaumeGomez:cleanup-e0276, r=Dylan-DPC
clean up E0276 explanation r? @Dylan-DPC
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc_error_codes/error_codes/E0276.md | 5 |
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 { |
