about summary refs log tree commit diff
diff options
context:
space:
mode:
authorZack M. Davis <code@zackmdavis.net>2017-08-06 21:50:41 -0700
committerZack M. Davis <code@zackmdavis.net>2017-08-06 21:50:41 -0700
commit75b7a6f1a662dab0752d189ab635580a21b06e42 (patch)
treee36ba73d8bb8361bbc3033b82e4d25cb5a7ff818
parent86b7546204c4220e40ccc3b1631ad407c1357911 (diff)
downloadrust-75b7a6f1a662dab0752d189ab635580a21b06e42.tar.gz
rust-75b7a6f1a662dab0752d189ab635580a21b06e42.zip
comment out record of now-unused error code E0563
The sole appearance of this code was deleted in 6383de15; the existing practice
in these cases seems to be to comment out its mention in
`register_diagnostics!`.
-rw-r--r--src/librustc_typeck/diagnostics.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_typeck/diagnostics.rs b/src/librustc_typeck/diagnostics.rs
index 3037e8d4a16..1323997315e 100644
--- a/src/librustc_typeck/diagnostics.rs
+++ b/src/librustc_typeck/diagnostics.rs
@@ -4709,7 +4709,7 @@ register_diagnostics! {
            // between structures with the same definition
     E0521, // redundant default implementations of trait
     E0533, // `{}` does not name a unit variant, unit struct or a constant
-    E0563, // cannot determine a type for this `impl Trait`: {}
+//  E0563, // cannot determine a type for this `impl Trait`: {} // removed in 6383de15
     E0564, // only named lifetimes are allowed in `impl Trait`,
            // but `{}` was found in the type `{}`
     E0567, // auto traits can not have type parameters