diff options
| author | Oliver Schneider <git-spam-no-reply9815368754983@oli-obk.de> | 2018-01-30 09:40:26 +0100 |
|---|---|---|
| committer | Oliver Schneider <git-spam-no-reply9815368754983@oli-obk.de> | 2018-03-08 08:34:14 +0100 |
| commit | 16d560fd993d5cd68423159d32d9f6b454349763 (patch) | |
| tree | d15bb717403bf606675861bdb8102c09230ec334 | |
| parent | ceb634a7323b9957ae94873c6bcb623bf61af34f (diff) | |
| download | rust-16d560fd993d5cd68423159d32d9f6b454349763.tar.gz rust-16d560fd993d5cd68423159d32d9f6b454349763.zip | |
Remove unused error E0020
| -rw-r--r-- | src/librustc/diagnostics.rs | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/librustc/diagnostics.rs b/src/librustc/diagnostics.rs index 287516474d4..b3a904f2f5f 100644 --- a/src/librustc/diagnostics.rs +++ b/src/librustc/diagnostics.rs @@ -14,19 +14,6 @@ // Each message should start and end with a new line, and be wrapped to 80 characters. // In vim you can `:set tw=80` and use `gq` to wrap paragraphs. Use `:set tw=0` to disable. register_long_diagnostics! { -E0020: r##" -This error indicates that an attempt was made to divide by zero (or take the -remainder of a zero divisor) in a static or constant expression. Erroneous -code example: - -```compile_fail -#[deny(const_err)] - -const X: i32 = 42 / 0; -// error: attempt to divide by zero in a constant expression -``` -"##, - E0038: r##" Trait objects like `Box<Trait>` can only be constructed when certain requirements are satisfied by the trait in question. |
