diff options
| author | Nick Hamann <nick@wabbo.org> | 2015-05-07 13:08:59 -0500 |
|---|---|---|
| committer | Nick Hamann <nick@wabbo.org> | 2015-05-07 13:08:59 -0500 |
| commit | 11cb5e50ab0fb166372d3aab68a06d5c06fdf2eb (patch) | |
| tree | 259321440e4fc7fc806e35bd8bfec000b0b74e34 /src | |
| parent | 0848d1c6a5908a9c3e6545e8a527027b164c7d05 (diff) | |
| download | rust-11cb5e50ab0fb166372d3aab68a06d5c06fdf2eb.tar.gz rust-11cb5e50ab0fb166372d3aab68a06d5c06fdf2eb.zip | |
Add long diagnostic for E0046
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc_typeck/diagnostics.rs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/librustc_typeck/diagnostics.rs b/src/librustc_typeck/diagnostics.rs index 154d824e678..c8b106db65e 100644 --- a/src/librustc_typeck/diagnostics.rs +++ b/src/librustc_typeck/diagnostics.rs @@ -12,6 +12,13 @@ register_long_diagnostics! { +E0046: r##" +When trying to make some type implement a trait `Foo`, you must, at minimum, +provide implementations for all of `Foo`'s required methods (meaning the +methods that do not have default implementations), as well as any required +trait items like associated types or constants. +"##, + E0081: r##" Enum discriminants are used to differentiate enum variants stored in memory. This error indicates that the same value was used for two or more variants, @@ -106,7 +113,6 @@ register_diagnostics! { E0040, // explicit use of destructor method E0044, E0045, - E0046, E0049, E0050, E0053, |
